The truth be told, there's no good reason to be using the Transitional doc type in modern web design. At least IMHO. XHTML Strict as the name suggests is a more disciplined flavour of HTML, but it has the added advantage of forcing you to separate the presentation from the structure.
This is partly because a lot of the valid attributes in Transitional that some designers use for presentation are actually invalid in Strict, such as align, background, border, height and width (except on images) and many more. With these attributes being illegal you are only left with one option for presentation: CSS. That's a good thing.
Web browsers are rather forgiving with Transitional (or HTML Lazy as I sometimes call it), but it's only intended to be used for when you have older legacy code that can't make the jump to Strict, and I think this is the reason why a lot of designers still prefer Transitional.
As someone who once upon a time did everything Transitional, I will agree that making the transition (wrong choice of words?) to XHTML Strict was painful at first. But if you're doing everything semantically and checking that your work validates to W3C, you will start to see a big improvement in the way you construct your code. Because the first task should be to implement the site's purpose, and worry about how it's presented later.
At the end of the day, if your goal is to deliver the most web standards compliant web site possible (and why shouldn't it be?), XHTML Strict is the way to go.


Carerra Davis
LOL @ HTML lazy. Strict DTD forces the browser to its highest standards mode too.
Friday 5th June 2009 | 05:57 PM Reply Comment URL Back to top