This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > October 2005 > display: none -> block -> table-row





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author display: none -> block -> table-row
Laurel

2005-10-15, 6:21 pm

Hi,
Do you know some browsers that would misbehave with these three lines of CSS
code:


table.liste tr {display:none;}
table.liste tr.headers {display: block;}
table.liste tr.headers {display: table-row;}


My idea was to hide some rows of a table by first hiding all rows, then
restoring the needed rows.

I tried this:

table.liste tr {display:none;}
table.liste tr.headers {display: table-row;}

but IE didn't show the headers because probably it didn't understand the
"table-row" value.

The page is here (the example I gave is a simplification):

http://www.mot-a-mot.org/auteurs.php
http://www.mot-a-mot.org/auteurs.ph...MarinaTsvetaeva

Thank you for your comments.

Spartanicus

2005-10-16, 6:22 am

Laurel <laurell@hotmail.com> wrote:

>but IE didn't show the headers because probably it didn't understand the
>"table-row" value.


IE doesn't support the CSS table model.

--
Spartanicus
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews