Did you know that DOCTYPEs can affect scroll bars?
Tuesday July 10, 2007
A little known "feature" of Internet Explorer 6.0 will add a horizontal scroll bar to the browser window when using a DOCTYPE in a certain (fairly common) way.
It's always a good idea to define a DOCTYPE to avoid putting the Web browser into "quirks" mode. But there's more to the Document Type Declaration or DOCTYPE than just what tags are supported or which quirks are in play. Learn how to use the DOCTYPE declaration in your Web pages so that you don't end up with unexpected scroll bars or other strange behaviors. And there are lots of DOCTYPES you can choose from, but be sure to use one on all your Web pages.
Go to the article on why to use DOCTYPE to find out more about how DOCTYPE can affect your scroll bars in IE 6.



Comments
What fairly common way? For god’s sake enlighten us, instead of leaving us in the dark.
I agree User. It’s OK if you want to pique curiosity and then put the answer in the article but to leave your readers hanging risks losing those readers altogether!!
The blog post is just a blurb describing the article that is always linked at the end of the post in a bulleted list. If you refuse to click through links on blog posts, then you won’t find the answer.
The blog posts on this site are just blog posts - they aren’t articles. I didn’t leave anyone hanging - the answer is in the third section of the article Why Use DOCTYPE Declarations posted in the blog entry.
Thanks!!
I had read the article at lots of Doctypes you can choose from - hadn’t clicked on the why to use doctypes as I already knew that.
Thanks very much for responding.