HTML:
<div id="container">
<div id="topdiv" />
<div id="maindiv" />
</div>
CSS:
#topdiv {
height: 25%;
width:100%;
border:dashed;
}
#maindiv {
height: 75%;
width:100%;
border:solid;
}
Unable to stack DIVs (topdiv, maindiv) vertically one below the other. What am i doing wrong?