Re: [css-d] menu box that floats with scrolling

2008-01-23 Thread Nancy E. Sosna Bohm
> From: [EMAIL PROTECTED]
> 
> I have seen the effect on at least two sites, one of which is
> http://www.quirksmode.org/css/display.html
> 
> Disabling the *.js file stops those menus from opening, but not from
> scrolling, suggesting control is by the CSS.

> Simple copy and paste into a new file did not work.
> Please explain.



I have successfully used this style:

 #menuHolder {display:block;position:fixed; top:390px; width:
109px;left:5px;font-size:80%;padding:6px;border:2px solid
#D02433;line-height:150%;}

with this html:


Background
Books
 Articles
Websites
Return to top


To work with IE6, set the position to absolute in a conditional comment.

Be sure to put enough content in the page to force it to scroll so you can
see the effect.

-Nancy

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] menu box that floats with scrolling

2008-01-22 Thread Gabriel Padoan
I simply use for this:

HTML

Foo Bar


CSS
.fixed {position:fixed;}

Hope it help -- ;-)

On Jan 21, 2008 4:39 PM,  <[EMAIL PROTECTED]> wrote:
> Hello lists.css-discuss.org
>
> I have seen the effect on at least two sites, one of which is
> http://www.quirksmode.org/css/display.html
>
> For PPK's example, I saved the page in which
> "show site navigation", "show page contents"
> stay visible as I scroll down the view.
> Disabling the *.js file stops those menus from opening, but not from
> scrolling, suggesting control is by the CSS.
> His structure uses DIV to nested depth four.
>
> Simple copy and paste into a new file did not work.
> Please explain.
>
> Thanks,
>  brane  [EMAIL PROTECTED]
>
>
> __
> css-discuss [EMAIL PROTECTED]
> 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/
>



-- 
Gabriel de Oliveria Padoan
[EMAIL PROTECTED]
__
css-discuss [EMAIL PROTECTED]
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/


[css-d] menu box that floats with scrolling

2008-01-21 Thread brane
Hello lists.css-discuss.org

I have seen the effect on at least two sites, one of which is
http://www.quirksmode.org/css/display.html

For PPK's example, I saved the page in which
"show site navigation", "show page contents"
stay visible as I scroll down the view.
Disabling the *.js file stops those menus from opening, but not from
scrolling, suggesting control is by the CSS.
His structure uses DIV to nested depth four.

Simple copy and paste into a new file did not work.
Please explain.

Thanks,
 brane  [EMAIL PROTECTED]


__
css-discuss [EMAIL PROTECTED]
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/