in pure css way with IE 6 supprt how to remove margin from last li?
Posted
by metal-gear-solid
on Stack Overflow
See other posts from Stack Overflow
or by metal-gear-solid
Published on 2010-04-29T13:15:45Z
Indexed on
2010/04/29
13:17 UTC
Read the original article
Hit count: 318
in this condition is it possible to not to apply margin-right
to last li
I need pure css way and support in IE6 and 7 also. is there any way to achieve this.
ul li {display:inline;margin-right:10px}
<ul id="nav">
<li><a href="#nowhere" >Lorem</a></li>
<li><a href="#nowhere" >Aliquam</a></li>
<li><a href="#nowhere" >Morbi</a></li>
<li><a href="#nowhere" >Praesent</a></li>
<li><a href="#nowhere" >Pellentesque</a></li>
</ul>
© Stack Overflow or respective owner