You are here: Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document « HTML « IT news, forums, messages
Re: Apply Scrollbar Colors to Document Only, Not Any Element Inside Document

Posted by Jonathan N. Little on 10/16/70 12:00

vunet wrote:
> On Jan 15, 11:51 am, "Jonathan N. Little" <lws4...@centralva.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/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.

<snip my signature>

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация