After creating a template for WebSVN, I put in the effort to ensure it adheres to web standards and validates. Most browsers display it well, but unfortunately IE 6 and IE 7 fail to render the unordered list horizontally. This causes each <li>
element to appear on a separate line and exceed the vertical space allocated. On the bright side, IE 8 behaves correctly, closely resembling Firefox and Safari.
Despite searching Google and SO for a solution, I haven't found one that suits my needs. Ideally, I would prefer a CSS fix over using JavaScript or any similar approach. The PNG transparency issue in IE 6 doesn't bother me as it doesn't affect readability, and IE 7 and 8 handle it without any problems.
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: Thankfully, I managed to find a solution, so the issues mentioned should no longer occur on the linked page. Feel free to explore it publicly!