DIV haters
Out of context: Reply #86
- Started
- Last post
- 90 Responses
- shaft0
Great!.. but not working without an ugly server-side or JS hack for percentage width setting. And it's hacking the CSS, the browsers are ok this time. Wasn't CSS supposed to be easier and more flexible than tables?
Also, try to add line breaks between two words of a title. Remember that cell content must be centered vertically too, that's where the css-fun begins :)
I was given an image based menu and was supposed to recreate it so that it could be updated dynamically. I spent a lot of time trying to do it with CSS, but to no good result. It took me just a few minutes to do it as a table. And it's not a browser issue, we're talking "good browsers" like Firefox or Opera. The problem lies in CSS itself.
People always say about how CSS gives us more control over layout, which is partially very true. Why did they take away useful stuff like easy centering, vertical alignment or control over stretching of elements?
I think that is because for CSS fathers a website is just a flow of text with floating images, what do you need centering and stretching for?
There's more issues in CSS that seem just dumb (ie. canceling the top/bottom margins of two blocks stacked up on each other). Why didn't those nerds consult designers when creating the standards?..