How to use the program
Whitespace quirks in Mac/IE5
- Skip crumbtrail
- Help →
- In-depth →
- Whitespace quirks in Mac/IE5
For most browsers, the amount of whitespace in the navigation list makes no difference at all - as well it shouldn't. But in Mac/IE5 it does, because HTML structures become unstable when stripped of whitespace.
To avoid any problems, simply ensure that your list includes the following minimum:
-
a line-break after each
</li> -
a tab or line-break between the
</li>and</a>of each horizontal navbar item (not necessary for a vertical navbar)
Here's an example from the navbar on this site, which more than satisfies the minimum requirement for either orientation (skip code example):
<ul class="lul"> <li><a href="/">Home</a> </li> <li><a href="/generator/">Generator</a> </li> <li><a href="/help/">Help</a> </li> <li><a href="/about/">About</a> </li> <li><a href="/contact/">Contact</a> </li> </ul>