E
e n | c k m a
The following code works fine in Mozilla 0.7:
<ul>
<li class="sel">Home</li>
<li><a href="aboutus.html">About Us</a></li>
<li><a href="pricing.html">Pricing</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="portfolio.php">Portfolio</a></li>
<li><a href="faq.html">F.A.Q.</a></li>
<li><a href="signup.php">Sign-Up</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
But in IE, the <li class="sel"> [which has a margin:5px] doesn't work. Or,
should I say, it DOES work, but not with the first list element.
If I put class="sel" on any other list item, it will work fine in every
browser but not if I put it on the first list item.
I was originally using <li><span class="sel">Home</span></li> and that
worked fine but I wanted to cut out all the <span>'s if it wasn't necessary.
Any thoughts? Thanks in advance,
Nick.
<ul>
<li class="sel">Home</li>
<li><a href="aboutus.html">About Us</a></li>
<li><a href="pricing.html">Pricing</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="portfolio.php">Portfolio</a></li>
<li><a href="faq.html">F.A.Q.</a></li>
<li><a href="signup.php">Sign-Up</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
But in IE, the <li class="sel"> [which has a margin:5px] doesn't work. Or,
should I say, it DOES work, but not with the first list element.
If I put class="sel" on any other list item, it will work fine in every
browser but not if I put it on the first list item.
I was originally using <li><span class="sel">Home</span></li> and that
worked fine but I wanted to cut out all the <span>'s if it wasn't necessary.
Any thoughts? Thanks in advance,
Nick.