copyright © CSSPG, lud October 18 2000


 for practical use of CSS

Bug Demo

this document is located at...
<URI:http://css.nu/pointers/nn-headers.html>

* Spaceless Headers *

This Netscape bug may be overcome by ensuring that whitespace separates style elements. Given the style:

<style type="text/css">
h1	{font-size: 2em;}
h2	{font-size: 1.75em;}
h3	{font-size: 1.58em;}
</style>

Netscape erroneously increases the font size of each header, like the following H1, H2, and H3 headers:

<h1>Header1</h1><h2>Header2</h2><h3>Header3</h3>

Header1

Header2

Header3

Separating the headers, like:

<h1>Header1</h1>
<h2>Header2</h2>
<h3>Header3</h3>

yields the expected rendering.

Header1

Header2

Header3


CSS Pointers Navigation
Index · Browser Bugs · Books · Tools · DHTML · XSL & DSSSL
Main Site Navigation
Index · Articles · Examples · Experiments · FAQ · Markup · Styles · Who is?
CSSPG ~ Sue ~ Roland
Validate markup Check CSS