I've created a template for WebSVN (see it in action here) and have worked hard to make it use web standards and validate. It looks great in most browsers, but as I feared, IE 6 and IE 7 can't quite hack it. In my case, the problem is that they refuse to render the unordered list for my navigation horizontally — they both display each <li>
on a separate line and overflow the allotted vertical space. (IE 8 behaves correctly, and looks very close to Firefox and Safari, which was a pleasant surprise.)
I haven't been able to find a suitable solution on Google or SO. I would prefer a CSS fix, rather than JavaScript or something similar, although that's not entirely off the table. (Also, I don't care about the PNG transparency issue in IE 6 — it doesn't hurt readability at all, and IE 7 and 8 both handle it perfectly.)
Edit: Here are relevant snippets of HTML and CSS:
HTML
<ul id="links">
<li class="diff"><a href="comp.php?repname=BYU+CocoaHeads&compare[]=%2F@552&compare[]=%2F@553">Compare with Previous</a></li>
<li class="rev"><a href="revision.php?repname=BYU+CocoaHeads&">Changes</a></li>
<li class="log"><a href="log.php?repname=BYU+CocoaHeads&path=%2F&&isdir=1">View Log</a></li>
<li class="download"><a href="dl.php?repname=BYU+CocoaHeads&path=%2F&isdir=1" rel="nofollow">Download</a></li>
<li class="svn"><a href="http://dysart.cs.byu.edu/chsvn/">SVN</a></li>
<li class="rss"><a href="rss.php?repname=BYU+CocoaHeads&path=%2F&isdir=1">RSS feed</a></li>
</ul>
CSS
#links {
padding: 0;
margin: 0;
text-align: center;
background: url(images/bg-gray-light.png) repeat-x 0 top;
border-bottom: solid 1px #a1a5a9;
}
#links li {
font-size: 110%;
display: inline-block;
padding: 5px 5px 4px;
white-space: nowrap;
}
Edit: Now that I've found a solution, the linked page won't (shouldn't?) misbehave any more in this situation, but will continue to be publicly available.