CSS HTML Div position?

linkinhardyy

New member
I use the following css to format a div:
#container{
position:relative;
background-color:#7d6036;
top:0px;
margin-left: auto ;
margin-right: auto ;
width:1000px;
height:auto;
min-height:400px;
}

But when i view the page, the div is not at the complete top of the browser, how do i keep it at the top?
I need it relative as my container so i put everything else in.
 
Back
Top