De: John 
Para: css-d@lists.css-discuss.org 
by persistent menu, I mean the menu/banner stays put. as user scrolls  
down to see more of your page, what had been at the top appears to  
slide underneath the banner, which remains visible at all times.
I know that this can be done with framesets, but wonder (and hope)  
that there's a CSS way of doing this now.
------------------------------------------------------------------------
Wrap the menu/banner within a DIV and set position fixed for that DIV.

HTML
<div id="top">
    menu/banner markup
</div> 

CSS
#top {
    position:fixed;
    ...
}

Regards
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to