Does anyone has any idea why I have that margin on the left side if the container of almost 30px??? The red li is pushed to the right with 30px or more... Thank you. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Welcome</title> <style type="text/css"> #liq_container { background-color: violet; height: 100px; width:540px; } #liquids { position: relative; } #liquids .liquid { float: left; display: block; width: 170px; height: 100px; } #publishers {background-color: red;} #advertisers {background-color: orange;} #afilliates {background-color: yellow;} </style> </head> <body> <div id="liq_container"> <ul id="liquids"> <li id="publishers" class="liquid"><span>Red</span></li> <li id="advertisers" class="liquid"><span>Red</span></li> <li id="afilliates" class="liquid"><span>Red</span></li> </ul> </div> </body> </html> HTML:
<li id="publishers" class="liquid"> Should be <li id="publishers" class="liquids"> I think. Try that and tell if it works