OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
CSS / position:fixed
This page's ID:
27459
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
Right, have been working on a site for a friend where the requirement is for a central scrollable content area surrounded by a fixed frame. The easy option would be to have the content area scrollable, i.e. the central div having scrollbars, but I have been playing with the idea of having the *frame* components fixed so the normal body scroll bar can be used to scroll the cenral content and the mouse wheel scrolls where ever the cursor position, i.e. even when it is not hovering over the central content. I used the ie 6 hack #div {position: absolute} body > div { position:fixed} with conditional comments [if ie6] Great idea but a big can of worms. 1) ie 5x and less don't seem to support fixed position and the footer covers text. 2) width: 100% seems to be more than 100% and covers the scroll bar tracks unless positioned right:20px 3) when resizing the window horizontally the menu bar [fixed] gets covered and of course wont scroll. (also it sometimes jumps out of the screen in IE - some silly bug no doubt. dohhh forgot to bring the code in - will post online tomorrow. and finally my question - before I go any further should I just use a scrollable div rather than trying to fix the above issues??? Cheers FR
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »