View Single Post
  #1 (permalink)  
Old 07-02-09, 06:24 AM
jonnekke jonnekke is offline
Junior Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 641
Thanks: 0
Thanked 0 Times in 0 Posts
<li> margin issue

Hi..

I got a <ul> with several <li> in it.. I styled them with the following CSS:

Code:
#footer  { width: 873px; height: 87px; float: left; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 45px; text-align: left; background:url(../images/tandwiel_onder.png) 30px 7px no-repeat; }

#footer ul { list-style: none; margin:10px 0px 5px 50px; padding: 0px 0px 0px 0px; }
#footer ul li { display:inline; margin:0px 0px 0px 0px; padding: 0px 5px 0px 5px; background:url(../images/separator_footer.png) no-repeat 100% 50%; font-size: 10px; color: #636161; border:1px solid #ff00ff; }
#footer ul li.first { padding: 0px 5px 0px 0px; margin:0px 0px 0px 0px; }
#footer ul li.last { background:none; margin:0px 0px 0px 0px; padding: 0px 0px 0px 0px; }
But somehow there is a white space between the <li>. I thought I set them exact next to eachother.
Can someone help me out here?.

_j
Reply With Quote