I'm struggling with a simple code snippet that is causing trouble in IE8 but works fine in Chrome. Here is the code:
<style type="text/css>
#header-cont {
width:100%;
background:#0080c9;
background-color:#0080c9;
height:50px;
position:absolute;
top:0px;
left: 0px;
}
</style>
<head>
<body>
<div id="header-cont"></div>
</body>
While the code renders correctly in Chrome, IE8 leaves a small gap at the end of the bar. How can I make IE8 behave properly?