|
Could someone please explain to me why, in the sample which follows, the top border of the <P> box is not adjacent to the top border of the <DIV> box, as is the case for the left border?
<HTML>
<HEAD>
<STYLE type="text/css">
div {
position: absolute;
top: 0px;
left: 0px;
width: 200px;
height: 200px;
border: thin solid #000000;
}
p {
position: absolute;
top: 0px;
left: 0px;
width: 100px;
height: 100px;
border: thin dashed #ff0000;
}
</STYLE>
</HEAD>
<BODY>
<DIV>
<P></P>
</DIV>
</BODY>
</HTML>
|