Anyone help with a tabbed CSS table?

Discussion in 'CSS' started by lorien1973, Aug 30, 2005.

  1. #1
    If I have a table that is 3 rows and 2 columns:

    row1 | row1information
    row2 | row2information
    row3 | row2information

    and I want to do something like this:

    I want it laid out like this:

    Row1 Row2 Row3

    And if you click Row1, it displays row1information below it and hides the other 2 rows. Same with if I click row2 and row3. Is this possible without JS?

    Anyone have an idea where I can check out a css capable of that?
     
    lorien1973, Aug 30, 2005 IP
  2. cristophe@lawyer.com

    cristophe@lawyer.com Guest

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    does nontroppo.org/test/tab1.html help?
     
    cristophe@lawyer.com, Aug 30, 2005 IP
  3. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #3
    I saw that before I asked, but each tab seems to load a brand new page. I'm looking to show and hide content contained on the same page.
     
    lorien1973, Aug 30, 2005 IP
  4. Arnica

    Arnica Peon

    Messages:
    320
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    J.D. posted a method in this thread but the technique only works in Firefox.

    Mick
     
    Arnica, Aug 30, 2005 IP