HighDots Forums  

help w/ pos:fixed; overflow:scroll

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss help w/ pos:fixed; overflow:scroll in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ingrid
 
Posts: n/a

Default help w/ pos:fixed; overflow:scroll - 06-26-2004 , 01:22 PM






Dear group,

I wanted to make a scrollable list-menu that is fixed in place and fitted to the height of the browser window, so I tried:

ol#nav{ position: fixed; top: 2em; bottom: 0; height: auto; left: 0; width: 12em; right: auto; overflow: scroll;
}

Or should I set the menu-list's parent DIV to "position: fixed; overflow: scroll" instead?

Any tips?

thank you! -- ingrid

Reply With Quote
  #2  
Old   
Ingrid
 
Posts: n/a

Default Re: help w/ pos:fixed; overflow:scroll - 06-27-2004 , 03:48 PM






Quote:
I'm not sure what you want; perhaps you want height: 20em; >overflow:scroll?Hi Brian! Thanks for the reply.I was thinking that {position: fixed; top: 0; bottom: 0; height: auto;overflow: scroll;} would make a fixed, scrollable list that is exactlyas tall as the browser window:http://www1.asstr.org/~ingrid/joesguide-authors.html-- warning! slightly naughty text content (but no pictures)In Camino, I can get the effect I want by applying those rules("position: fixed; overflow: scroll;...") to the list itself or to theDIV that contains the list; I don't know if there's any advantage todoing it one way versus the other.I'm a little worried that it might not show right in old and sloppybrowsers.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.