By Compugasm
via blog.superunit5000.com
Published: Apr 25 2007 / 22:51
I wonder if I will ever live to see the day when CSS rounded tabs would be a simple process? I've spent damn near 24hrs trying to get it to work. It is very easy to layout a page like this using a simple table. Check this out, and have your tabs done in five minutes...



Comments
Gzero14 replied ago:
The problem is semantic, and it also makes the page less accessible. The general viewer probably can't tell the difference, but it's just something that isn't a good idea, and it will probably stop validating in a future version of XHTML. Yeah, non-table layouts may be harder, but once all the major browsers have the table-display CSS support it should become just as easy.
Ganeshji Marwaha replied ago:
Yes and No to the author's observations…
Personally, i prefer to pick my battles. I consider semantic markup to be the best approach, because of all the reasons you know…
But, when it comes to implementation, if i am pressed for time, i try to do it semantically right first, if it doesn’t work in a couple of attempts, i switch to *get it working* mode and get the required result. Once i have it working, and i still have time to spare, i will try to make it semantically correct again.
This way, you will have semantic markup with only the necessary hooks if it works in the first couple of attempts. So, my take is not to revert to table-based to start with, but fall-back if there is no simple solution.
Voters For This Link (9)
Voters Against This Link (2)