Click to See Complete Forum and Search --> : #apDiv positioned differently in IE6 and Firefox


itgoes
03-27-2008, 01:39 PM
this is my #apDiv css:
#apDiv1 {
position:absolute;
left:234px;
top:273px;
width:715px;
height:391px;
z-index:1;
}

This shows up in a different location in IE6 then in Firefox. What is the work around?

KDLA
03-27-2008, 04:03 PM
Rest of the code?

WebJoel
03-29-2008, 12:19 PM
this is my #apDiv css:
#apDiv1 {
position:absolute;
left:234px;
top:273px;
width:715px;
height:391px;
z-index:1;
}
This shows up in a different location in IE6 then in Firefox. What is the work around?
Unless this "absolute-positioned" DIV is placed inside of another, "position:relative;" DIV, it is being based upon position 0,0 of your viewscreen. I suspect that it is, and IE default margin & padding is shoving things around.

* {margin:0; padding:0;}

as your first CSS statement might help take care of this.

Need to see all of your code. :)