KeLNeLMeLFeL
New Member
Suppose I have a div area like this:\[code\]<html><head></head><body> <div id="logo_area" style="background-color:gray;height:40px;"> <div id="logo" style="float:left;margin-left:auto;margin-right:auto;width:80%;height:50%;padding-left:50px;"> <img border="0" src="http://stackoverflow.com/questions/14491798/images.jpg" width="30" height="30"> </div> <div id="admin" style="padding:15px;"> <a>LOG IN</a>|<a>SIGN UP</a> </div> </div></body></html>\[/code\]I want to make the logo_area to become the top of the page (That is, the gray area fill up top of the webpage). But it always has some white padding area around the gray background.Can anyone tell me how to get rid of the white area?Thanks.