Page 1 of 1
Using Display:table IE no likey
#1
Posted 01 July 2009 - 12:25 PM
So I'd like to start using display: table for some layouts, however as I'm sure you all know, IE 6 and 7 doesn't support it. Anyone know of any good workarounds for this so that it can still be used without screwing up in IE? (That is without conditional IE statements...)
#2
Posted 01 July 2009 - 04:34 PM
I use {display: table} (and its family members) on my website. However, I consider that to have been a mistake.
There is no universal substitute for {display: table}, other than using an actual HTML table. Depending on what you are using it for, however, there are specific hacks. For equal-height columns, you can use a javascript hack (I do).
If you're trying to do this entirely without conditional comments, all I can say is...good luck.
I expect you'll need to use javascript browser detection instead, which is less trustworthy.
With the benefit of hindsight, I would steer well clear of this unnecessary code forking, and save {display: table} for when all major browsers can handle it.
There is no universal substitute for {display: table}, other than using an actual HTML table. Depending on what you are using it for, however, there are specific hacks. For equal-height columns, you can use a javascript hack (I do).
If you're trying to do this entirely without conditional comments, all I can say is...good luck.
With the benefit of hindsight, I would steer well clear of this unnecessary code forking, and save {display: table} for when all major browsers can handle it.
#3
Posted 02 July 2009 - 05:10 AM
Equal height, flexible columns with CSS I'm sure ive posted before but here again.
I still see no reason to use display:table
I still see no reason to use display:table
#4
Posted 02 July 2009 - 05:16 AM
rich97, on Jul 2 2009, 11:10 AM, said:
I still see no reason to use display:table
Wait, I found the original!
Share this topic:
Page 1 of 1
Page 1 of 1
| Trackback URL | Trackback Date | Total Hits |
|---|---|---|
Page 1 of 1
| Topic | Started By | Stats | Last Post Info | |
|---|---|---|---|---|
![]() |
Search Every Table?
|
Jack ![]() |
|
|
![]() |
Overwriting Default Table Style In Ie!?
|
Jason ![]() |
|
|
![]() |
Creating Php Recordset And Display
Need some tips.. |
Monie ![]() |
|
|
![]() |
Dreamweaver: Why Are My Table Componants Spacing Out?
HTML, CSS, DW CS |
Inkers ![]() |
|
|
![]() |
Foreach Problem -- Table Of Contents Script
I have a shaky grasp of variables/arrays/foreach loops |
MikeHopley ![]() |
|
|
Sign In »
Register Now!
Help






















