In the attached image you can see the error that I'm talking about. I can't reproduce this on my machine using IE, but it has registered on other computers running IE 8.
Any help would be greatly appreciated.

Here is my code:
CSS:
- Code: Select all
#topMenu { float:left; width:575px; margin-left:50px; }
.topMenu { list-style-type:none; }
.topMenu a { font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333; text-decoration:none; padding:44px 20px 42px 20px; float:left; max-width:100px; clear:none; }
.topMenu1 { list-style-type:none; }
.topMenu1 a { font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#333; text-decoration:none; padding:44px 20px 42px 20px; float:left; clear:none; }
.topMenu a:hover { color:#374f9d; background-image:url(images/menuarrow.png); background-repeat:no-repeat; background-position:bottom center; }
.topMenu1 a { font-weight:bold; color:#374f9d; background-image:url(images/menuarrow.png); background-repeat:no-repeat; background-position:bottom center; }
xhtml:
- Code: Select all
<ul id="topMenu">
<?php $purparrow = $post->post_title; ?>
<?php if ($purparrow == 'Services') { ?><li class="topMenu1"><?php } else { ?><li class="topMenu"><?php } ?><a href="/butsko/services">Services</a></li>
<?php if ($purparrow == 'Portfolio') { ?><li class="topMenu1"><?php } else { ?><li class="topMenu"><?php } ?><a href="/butsko/portfolio">Portfolio</a></li>
<?php if ($purparrow == 'Some news item') { ?><li class="topMenu1"><?php } else { ?><li class="topMenu"><?php } ?><a href="/butsko/2009/09/newest-post/">News</a></li>
<?php if ($purparrow == 'Industry links') { ?><li class="topMenu1"><?php } else { ?><li class="topMenu"><?php } ?><a href="/butsko/industry-links">Industry links</a></li>
<?php if ($purparrow == 'Careers') { ?><li class="topMenu1"><?php } else { ?><li class="topMenu"><?php } ?><a href="/butsko/careers">Careers</a></li>
<?php if ($purparrow == 'Contact' || $purparrow == 'Team') { ?><li class="topMenu1"><?php } else { ?><li class="topMenu"><?php } ?><a href="/butsko/contact">Contact</a></li>
</ul><!-- End UL id="topMenu" -->

