Apply Scrollbar Colors to Document Only, Not Any Element Inside
Apply Scrollbar Colors to Document Only, Not Any Element Inside
am 15.01.2008 17:43:34 von vunet.us
IE6 has a bug: when I drag some div element which contains colored
scrollbars, it crashes. I found an article describing this:
http://www.activewidgets.com/javascript.forum.18969.1/ie-6-c rashes-with-aw.html
How can I use CSS to tell to apply colored scrollbars to the page
only, not any element inside of the page such as div, iframe, etc.?
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document
am 15.01.2008 17:51:38 von lws4art
vunet wrote:
> IE6 has a bug: when I drag some div element which contains colored
> scrollbars, it crashes. I found an article describing this:
>
> http://www.activewidgets.com/javascript.forum.18969.1/ie-6-c rashes-with-aw.html
>
> How can I use CSS to tell to apply colored scrollbars to the page
> only, not any element inside of the page such as div, iframe, etc.?
You don't. No other browser will even let you style them in the first place.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document
am 15.01.2008 17:57:20 von a.nony.mous
vunet wrote:
> How can I use CSS to tell to apply colored scrollbars to the page
> only, not any element inside of the page such as div, iframe, etc.?
Don't mess with my browser. You can have access to the content in the
viewport, but the browser is mine.
--
-bts
-Friends don't let friends drive Vista
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside
am 15.01.2008 18:17:10 von vunet.us
On Jan 15, 11:51 am, "Jonathan N. Little"
wrote:
> vunet wrote:
> > IE6 has a bug: when I drag some div element which contains colored
> > scrollbars, it crashes. I found an article describing this:
>
> >http://www.activewidgets.com/javascript.forum.18969.1/ie-6- crashes-wi...
>
> > How can I use CSS to tell to apply colored scrollbars to the page
> > only, not any element inside of the page such as div, iframe, etc.?
>
> You don't. No other browser will even let you style them in the first place.
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
What I meant is applying scrollbar style to html, body but not any
other element such as div in IE (IE ONLY, of course)
html,body {
scrollbar-base-color: #9999cc;
}
div {
scrollbar-base-color: ;
}
But this did not work... You got my idea, didn't you?
Thanks.
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document
am 15.01.2008 18:44:30 von lws4art
vunet wrote:
> On Jan 15, 11:51 am, "Jonathan N. Little"
> wrote:
>> vunet wrote:
>>> IE6 has a bug: when I drag some div element which contains colored
>>> scrollbars, it crashes. I found an article describing this:
>>> http://www.activewidgets.com/javascript.forum.18969.1/ie-6-c rashes-wi...
>>> How can I use CSS to tell to apply colored scrollbars to the page
>>> only, not any element inside of the page such as div, iframe, etc.?
>> You don't. No other browser will even let you style them in the first place.
>
> What I meant is applying scrollbar style to html, body but not any
> other element such as div in IE (IE ONLY, of course)
>
> html,body {
> scrollbar-base-color: #9999cc;
> }
> div {
> scrollbar-base-color: ;
> }
>
> But this did not work... You got my idea, didn't you?
Got it, really. Scrollbars are considered part of the browser chrome,
stick to web standard and do yourself a favor. If you are looking for
constancy in MS you are in a world of hurt, only takes a quick scan of
the NG to see the evidence. Avoid proprietary properties
http://www.w3.org/TR/CSS21/propidx.html
and save yourself some grief.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document
am 15.01.2008 21:09:41 von unknown
Post removed (X-No-Archive: yes)
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document
am 15.01.2008 22:33:51 von Neredbojias
Well bust mah britches and call me cheeky, on Tue, 15 Jan 2008 16:43:34
GMT vunet scribed:
> IE6 has a bug: when I drag some div element which contains colored
> scrollbars, it crashes. I found an article describing this:
>
> http://www.activewidgets.com/javascript.forum.18969.1/ie-6-c rashes-with
> -aw.html
>
> How can I use CSS to tell to apply colored scrollbars to the page
> only, not any element inside of the page such as div, iframe, etc.?
As Jonathan implied, it's a non-standard proprietary thing so other
elements will probably "inherit" the attribute no matter what you do.
--
Neredbojias
Riches are their own reward.