I have written some code which works fine as I intend to work in Mozilla but not in IE. In IE it shows more space between two lines "Franchise Support" "Store Environment".
so what is wrong in this code. here is code
Expand|Select|Wrap|Line Numbers
- <div id="mainNav">
- <ul>
- <li><a href="about.html" class="on">About Jamba</a></li>
- <li><a href="support.html">Franchise Support</a></li>
- <li><a href="store.html">Store Environment</a></li>
- <li><a href="products.html">Jamba Products</a></li>
- <li><a href="brands.html">Jamba Brands</a></li>
- </ul>
- </div>
Expand|Select|Wrap|Line Numbers
- #mainNav{
- width: 181px;
- height: 130px;
- float: left;
- background:url(../images/mainNavBg.gif) left bottom no-repeat;
- }
- #mainNav ul{
- color: #572600;
- list-style: none;
- height:10px;
- }
- #mainNav li{
- font-size: 10px;
- }
- #mainNav ul li a{ padding-left: 30px; color: #572600; text-decoration: none;}
- #mainNav ul li a:hover{color: #ffffff;}
- #mainNav ul li a.on{color: #ffffff;}