Wednesday, February 02, 2005

Debunking the myth of style defaults

by Michael Meadhra

This article originally appeared in the Design & Usability Tactics newsletter. Click here to subscribe automatically. Free subscription required.

“There is no such thing as a totally unstyled Web document. Even if you don't link to an external CSS style sheet or add any embedded styles to the document, the page gets formatting information from the browser's built-in default style sheet. It's this built-in style sheet that establishes default formatting, such as the size and bolding of text marked up with the heading tags (h1 - h6) and the space above and below paragraphs.

Most Web builders take default styles for granted. They think of the formatting defaults as things that were standardized in the early days of the Web that will always remain the same. That's not entirely true. Although the default styles are generally quite similar in all the major browsers, there are some small (and not so small) differences in the default style sheets of the various browser brands and versions. These style sheet differences are responsible for a significant portion of the page-rendering inconsistencies between browsers.

That's the bad news. The good news is that you can do something about it.

http://techrepublic.com.com/5100-22_11-5435275.html?tag=em.e099.020105


No comments: