In the example below, Mozilla  seems to add  borders to the outside of the
specified box box height and width causing window overflow.

a) Is it possible to apply borders internally to the box, like IE, or is
this a bug?.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>

<HEAD>

<STYLE type="text/css">

#body

{
 position:absolute;
 width:100%;
 height:100%;
 margin:0px 0px 0px;
 padding:0px 0px 0px;
}


#box
{
 position:absolute;
 left:0.5%;
 top:0%;
 width:99%;
 height:99%;

 border:100px solid yellow ;
 background-color: #6699CC;

 padding:0px 0px 0px;
 margin:0px 0px 0px;

}

</STYLE>

</HEAD>

<BODY ID='body'  >

<DIV id="box"/>

</BODY>

</HTML>



Reply via email to