View Full Version : Relative positioning in IE6
psilos
03-16-2007, 11:30 AM
Hello there,
Is there any known problem with IE6 and relative positioning?
I have implemented relative positioning, it appears normal in FF but no effect in IE6.
Thanx.
jscheuer1
03-16-2007, 01:14 PM
Not really. Are you sure you mean:
position:relative;
?
IE 6 does not do:
position:fixed;
That said, position:relative; can be influence by the align attribute and text-align property in the element itself or its parent or other ancestor(s) as well as by the <center> tag as a parent or ancestor element. In itself, position:relative; doesn't do a lot unless left:, top:, right:, and/or bottom: are specified. And, depending upon DOCTYPE, units must be specified, ex:
top:15px;
not:
top:15;
There are differences in the box model rendering in IE that can throw off positioning relatively though, it usually will still have some effect. Oddly, IE will allow position relative on a table cell (<td>) while FF will not.
psilos
03-16-2007, 01:39 PM
okie thanx for your answer..
I have find a solution from another post you had answered.
First i defined a blank relative div and after that a fixed div with proper offset.
It worked for now..
thanx
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.