Hi all,
The Situation:
I'm creating a basic template in HTML with CSS that I often use when creating websites.
The Problem:
I am centering my content and cannot get rid of the white border at the top of the page (am testing in Firefox and Chrome).
This is a silly question I'm sure, but the solutions I've looked for on Google didn't work for me.
Here's my CSS:
body
{
background-color: #FFF;
font-family: "Helvetica";
font-size: 12px;
color: #000;
}
#wrapper
{
width: 1000px;
margin: 0px auto;
background: #999;
}
And here's the HTML:
<body>
<div id="wrapper">
Template test
</div>
</body>
I would have thought that the "margin: 0px" would have sorted it. I also tried "padding: 0px" but no luck either.
I'm sure it's something really simple, but I just can't find the solution and it's really bugging me!
Thanks in advance guys :)
Crunkie