HighDots Forums  

Apply Scrollbar Colors to Document Only, Not Any Element InsideDocument

alt.html alt.html


Discuss Apply Scrollbar Colors to Document Only, Not Any Element InsideDocument in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vunet
 
Posts: n/a

Default Apply Scrollbar Colors to Document Only, Not Any Element InsideDocument - 01-15-2008 , 10:43 AM






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/javascr...s-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.?

Reply With Quote
  #2  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Apply Scrollbar Colors to Document Only, Not Any Element InsideDocument - 01-15-2008 , 10:51 AM






vunet wrote:
Quote:
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/javascr...s-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


Reply With Quote
  #3  
Old   
vunet
 
Posts: n/a

Default Re: Apply Scrollbar Colors to Document Only, Not Any Element InsideDocument - 01-15-2008 , 11:17 AM



On Jan 15, 11:51 am, "Jonathan N. Little" <lws4... (AT) centralva (DOT) net>
wrote:
Quote:
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/javascr...e-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.


Reply With Quote
  #4  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Apply Scrollbar Colors to Document Only, Not Any Element InsideDocument - 01-15-2008 , 11:44 AM



vunet wrote:
Quote:
On Jan 15, 11:51 am, "Jonathan N. Little" <lws4... (AT) centralva (DOT) net
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/javascr...e-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.
<snip my signature>

Quote:
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


Reply With Quote
  #5  
Old   
Neredbojias
 
Posts: n/a

Default Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document - 01-15-2008 , 03:33 PM



Well bust mah britches and call me cheeky, on Tue, 15 Jan 2008 16:43:34
GMT vunet scribed:

Quote:
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/javascr...6-crashes-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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.