Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8538387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:06:48+00:00 2026-06-11T11:06:48+00:00

As pointed out in the title, my question is very simple: is there any

  • 0

As pointed out in the title, my question is very simple: is there any way that I can achieve clicking on a header (title) and expand (and collapse) a text associated with it, without using JavaScript nor jQuery? Is there any browser compatible way of doing this (IE 6+ proof)?

I’ve made a very simple HTML+CSS site for a conference, and I would like to use JS only if necessary. So, I’m just asking if I can do it sticking only to HMTL/CSS, in a compatible way, of course.

The few solutions I’ve found are old or incompatible with some browser versions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:06:48+00:00Added an answer on June 11, 2026 at 11:06 am

    IE6-proof pure CSS solution?

    NO

    [Leave the dead rest in their graves, don’t try to make them run a marathon. That’s what you’re doing when you’re asking for IE6 to do things like this.]


    IE7/8?

    Yes, there is one solution (the principle is the same one used in this older demo of mine), but it is not persistent (meaning that if you click anywhere else on the page, your expanded content will collapse) and it behaves a bit weird in IE7 (meaning that you have to hover off the clicked element after you click it in order to see your content expanding).


    IE9+ and the other browsers?

    YES! Also persistent. Same principle as the one I used here.


    JavaScript/ jQuery method?

    Yes! See this: a jQuery version of the same demo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently someone pointed out that my personal site was not working on ipad, because
I'm reading about STL algorithms and the book pointed out that algorithms like find
Recently, a coworker pointed out to me that compiling everything into a single file
Question is in the title. I can't find anything obvious in the documentation which
I know that __builtin__ sorted() function works on any iterable. But can someone explain
I am learning C++ language. There are two concepts I can not figure out:
As gdoron pointed out, var a = a; var b = b; a =
Edit: It's not a bug as Martin pointed out. I'm just crossing the daylight
In a reply to a post I made the other day Dimitre pointed out,
A friend brought this to my attention, and after I pointed out an oddity,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.