Hi guys,

I need to create an absolutely positioned div that will float on top
of the existing page layout, and be 100% of the height of the rendered
page, not the viewport. Something similar to what Lightbox does -
greying out the page and displaying a box over it. The trouble is,
because it's to display some legal stuff (of the "this site contains
medical information that some people might find offensive or
disturbing" variety) I don't want to use Lightbox because it relies on
JavaScript. Anyone who doesn't have JS simply won't see the warning
and that just doesn't seem like a good idea.

I've had no trouble making the div that sits on top of everything
extend to the height of the viewport, but if the page extends beyond
that then you see normal (and clickable) page as soon as you scroll.
Don't want that, if possible.

Is there a CSS way of doing this? Or am I going to have to fall back
onto JS for that section and just say "Well, at least they see the
message if they don't have JS, even if they don't get such a nice
experience"?

Cheers,

Seona.
______________________________________________________________________
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/

Reply via email to