I am using the following header design, which should take over the top part of the page 100% horizontally but in some browsers on the right hand side it wouldn’t cover it.
How can i fix this?
HTML:
<header id="loop">
<img src="/images/logo.png" height="50px" />
</header>
CSS:
background-color: #990000;
height: 85px;
margin-left: -8px;
margin-top: -8px;
position: relative;
width: 101.3%;
It’s a bit hard to tell with no solid example.
Make sure that the body/header margin values:
Also, remove the width value you put in your css and reset your margins. Your CSS should be: