simple html and css assistance -


i have logo called gif.gif, trying position on top left corner. @ moment there gap, want no padding or margins.

this html , css

css

#header, .img  margin:0px; padding:0px; 

html

<!doctype html> <html>     <head>         <link rel="stylesheet" href="foo.css" type="text/css" /><!-- footer stylings -->     </head>     <body>         <div id="header">             <div class="logo">                 <a href="https://www.google.co.uk"/><img src="gif.gif"/></a>             </div>         </div>     </body> </html> 

try this:

body { margin:0px; padding:0px;  } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -