Check out this example http://jsbin.com/oqisuv/
CSS
body {
background:#e7ebf2 url(http://i.imgur.com/R2VB6.png) center repeat-y;
}
.menu {
width:989px;
margin:auto;
height:100px;
background:#666666;
line-height:100px;
text-align:center;
color:#fff;
}
HTML
<body>
<div class="menu">Hello</div>
</body>
If you view the example above on Google Chrome, you may notice that the .menu
appears to have a margin-left:-1px
or margin-right:1px
.
It looks great on Firefox & IE. How can I fix this issue?