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 ...
Get Developing with Web Standards now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.