CSS: DIV box not aligned top
Posted: Mon Oct 06, 2003 7:59 pm
For some reason the following CSS will not make the div box with the id of "contentContainer" will not be aligned to the top of the browser.
Anyone help me figure out why?
Code: Select all
body {
maring: 0;
padding: 0;
background-image: url(IMAGE.gif);
text-align: center;
border: 2px dashed red;
}
#contentContainer {
margin: 0;
padding: 0;
width: 760px;
height: 100%;
border-left: 1px #000 solid;
border-right: 1px #000 solid;
background: url(IMAGE.gif) left top repeat-y;
background-color: #FFF;
}