Sent by Chris Morton on 2 February 2012 19:07
>
> A solution is to put your gradient in a separate block and give that
> element these rules:
> position: fixed;
> top: 0;
> left: 0;
> width:100%;
> height:100%;
> z-index: -999;
>
> ... and apply your gradient to that block instead of the body.
>
I tried this, creating a *#super_wrapper* block between the body and *
#wraper*, then modifying the about/Management page accordingly. In Chrome,
this froze the page, making it unscrollable (with no visible scrollbars).
Adding an *overflow: scroll;* to this css code made a scrollbar appear, but
the page was still frozen.
> An even better solution is not to add a block for the gradient, but create
> a pseudo-element in the CSS:
Nope; too many potential viewers are still using IE. Yesterday I had to add
a compatability meta tag in the *head* in order to have IE8 render pages
like IE7.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/