I know I'm likely going to be touching some nerves here,
but CSS isn't all it's cracked up to be. Yep. ZenGarden is great,
and shows you all that you can do with CSS, but it conveniently leaves out a
common problem. DIV heights with dynamic content. Sure, it's great
if you can specify that your div will always be 427 pixels tall, but there is no
way you can guarantee that with dynamic content.
The DIV tag does not support the height:100% style when inside a
container. In fact, I don't think it supports height:100% period.
So, extra manipulation with Javascript is necessary to get your CSS layout to
look right.
As it stands right now, I'll stick with tables, until this is fixed.
Don't get me wrong, I like CSS. It's extremely flexible, and I'm working
on re-writing a few sites in it now. But, is it the revolutionary solution
to all the world's problems like some have claimed? Nope.
Fix this issue, and I'll start to think
otherwise.
Print | posted on Monday, July 31, 2006 8:07 PM