OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Absolute position DIVs in DIVs
This page's ID:
24026
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Well, poi isn't quite right there: Absolute is relative to the closest positioned ancestor. That includes elements of both absolute and relative position. Only statically positioned elements are not counted as positioned. The only g5 browser that doesn't get this right is ie5.0w. All other g5 browsers, including ie5m and ie5.5w, get it right. The g6 browsers also get fixed positioning right. (Well, not prefectly right, but close to it.) Relative positioning is relative to the place the element would have been in if it were static. Fixed positioning is relative to viewport (window working area). I've got a document at [url]http://testsuite.liorean.net/css/posexam/[/url] that displays each of fixed/absolute/relative/static inside of a parent of each type. Moz, saf and msn/osx all exhibit a pair of related bugs that you are not very likely to happen upon in your development, while op7 has a single but different bug that you are even less likely to encounter. Iew is always the problem: it treats fixed positioning as static. However, except for the box model differences in 5.5 and 6.0 in quirks mode, ie6w manages to display is just as well as moz, saf and msn/osx. -- var Liorean = { prototype: [sigrotate]JavaScript|XML|XHTML|HTML|CSS|ProgrammingTheory[/sigrotate]Guru.prototype, abode: "[sigrotate][url]http://liorean.web-graphics.com/[/url]|[url]http://codingforums.com/[/url]|[url]http://web-graphics.com/[/url][/sigrotate]", profile: "[url]http://codingforums.com/member.php?u=5798[/url]"};
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »