S
Shawn Modersohn
IE 6 displays this the way I want. Netscape7 doesn't seem to care that the
paragraph is floated to the left. Its as though it is positioned relative
to the window rather than the floated paragraph. It's my understanding that
by specifying position:relative, the container will appear as it normally
would in the flow of content. Basically, is this behaivor one of those
inherent inconsistencies or is my form bad? I assume IE is getting this
right and Nestscape wrong.
<body>
<p style="float:left;">here is a bunch of stuff, lets see where it goes</p>
<div id="Layer1" style="position:relative; border: 1px solid; left:80px;
top:0px; width:199px; height:480px; z-index:1"></div>
<div id="Layer2" style="position:relative; border: 1px solid; left:0px;
top:0px; width:520px; height:480px; z-index:2"></div>
</body>
paragraph is floated to the left. Its as though it is positioned relative
to the window rather than the floated paragraph. It's my understanding that
by specifying position:relative, the container will appear as it normally
would in the flow of content. Basically, is this behaivor one of those
inherent inconsistencies or is my form bad? I assume IE is getting this
right and Nestscape wrong.
<body>
<p style="float:left;">here is a bunch of stuff, lets see where it goes</p>
<div id="Layer1" style="position:relative; border: 1px solid; left:80px;
top:0px; width:199px; height:480px; z-index:1"></div>
<div id="Layer2" style="position:relative; border: 1px solid; left:0px;
top:0px; width:520px; height:480px; z-index:2"></div>
</body>