2
I have a DIV of leaves a space between her and the top of the browser, see: http://www.roteirodoimovel.com.br/modelos/3/teste.php
CSS:
.element {
position:relative;
display: table;
width:960px;
height:120px;
margin: 0 auto;
padding:0px;
background-color:#000000;
border:0px;
}
I tried several things but without success. I need my DIV stick to the top of the browser.
Check if you have margin or padding in the element that contains that div. If you don’t, go up the hierarchy until you find the culprit. It is quite possible that the margins are "collapsing".
– bfavaretto