Inline-table isn't supported by IE: http://www.htmldog.com/reference/cssproperties/display/
(though, judging by the age of that page, it's probably just IE6 and possibly IE7 that doesn't support it).
diplay products
Moderator: General Moderators
Re: diplay products
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: diplay products
Your probably right, perhaps div.items { display: table; float: left; } could achieve something similar that also works in IE6. Who knows ... trying to accommodate all browsers is the domain of CSS ninjas.pickle wrote:Inline-table isn't supported by IE: http://www.htmldog.com/reference/cssproperties/display/
(though, judging by the age of that page, it's probably just IE6 and possibly IE7 that doesn't support it).
Hopefully nobody is going to spit in disgust when I say this, but of course tables are probably the easiest means of achieving a consistent layout across browsers of different eras and vendors, whether they are semantically correct or not.
Re: diplay products
Not spitting on anything but I think the CSS solution is way better, its fluid... I can hear the clients with their 30" screens going oooh ahh
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: diplay products
That's certainly true.josh wrote:I think the CSS solution is way better, its fluid... I can hear the clients with their 30" screens going oooh ahh