O'Reilly logo

Developing with Web Standards by John Allsopp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter Ten: CSS Resets & Frameworks

Without a style sheet, your browser displays web pages as a single long paragraph of text, all with the same size and weight. This may come as a surprise, because when you view a page in your browser before adding your CSS, it isn’t displayed that way. Headings, paragraphs, and other block-level elements are displayed as blocks with margins and padding, and at various text sizes and weights. Links are colored (probably blue) and underlined. This all happens because the browser is using a default style sheet—and, of course, each browser’s default style sheet is a little bit different.

CSS Resets

Browsers apply the default style sheet first, and then add on any preferences a particular user has set (such as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required