Re: customising scroll bars in java script drop down menu

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Murray (forums_at_HAHAgreat-web-sights.com)
Date: 03/22/05


Date: Tue, 22 Mar 2005 08:56:51 -0500

There are several things you need to know -

1. The colorized scrollbars are proprietary to IE/PC. Macs, or other
browsers on PCs will not show them.

2. The scrollbars belong to the body of the page in browser quirks mode,
and to the html tag in browser standards mode. This means that if you put a
valid and complete doctype on your page, your colors may fail to work since
you may have defined them for the body tag, not the html tag.

body, html {
  scrollbar-face-color: ThreeDFace;
  scrollbar-shadow-color: ThreeDDarkShadow;
  scrollbar-highlight-color: ThreeDHighlight;
  scrollbar-3dlight-color: ThreeDLightShadow;
  scrollbar-darkshadow-color: ThreeDDarkShadow;
  scrollbar-track-color: Scrollbar;
  scrollbar-arrow-color: ButtonText;
}
3. Such colors may not propagate to other page elements like <select> form
tags, unless you also add a CSS style rule for that tag as well.

body, html, select {
  scrollbar-face-color: ThreeDFace;
  scrollbar-shadow-color: ThreeDDarkShadow;
  scrollbar-highlight-color: ThreeDHighlight;
  scrollbar-3dlight-color: ThreeDLightShadow;
  scrollbar-darkshadow-color: ThreeDDarkShadow;
  scrollbar-track-color: Scrollbar;
  scrollbar-arrow-color: ButtonText;
}NOTE: I am not sure that this is going to work for the form elements, but I
think it does.

-- 
Murray
============
"Gary @ Cinnabar" <Gary @ Cinnabar@discussions.microsoft.com> wrote in 
message news:599E2DC6-9088-441B-9A3E-64C69707E852@microsoft.com...
>I forgot to add i'm using frontpage 2003
>
> "Gary @ Cinnabar" wrote:
>
>> I'm in the process of creating a site and i've customised my web pages 
>> with
>> scroll bars to match the web site theme colours, but the java script drop
>> down menu i've included on some of my pages doesn't show this themed 
>> scroll
>> bar, just the style i've set up on my pc. Can I change this? ( I'm afraid
>> you'll have to give any suggestions in idiots speak as i have very little
>> technical knowledge)
>>
>> Regards 


Relevant Pages

  • Re: why people dont like web apps with menus like usual apps? was: Re: how does www.windowsupdate.co
    ... a visit with any other browser is greeted with a rather ... It's got scrollbars all over the place when opened in my preferred ... When designing a web page, one needs to be more generic: ... in terms of making specific visual widgets appear in specific places, ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: VS 2005-Missing scroll bars?
    ... After a bit of trial and error, it turns out that it's the tag ... in the header section that caused the scrollbars to disappear. ... WHY did it do this in the IDE?? ...
    (microsoft.public.vstudio.development)
  • Re: Any sites use RISC OS Java? was Re: "Threaded" Test Firefox version
    ... everything OSS which is a "full" browser is WebKit- or Mozilla-based, even most of the nominally embedded ones. ... fare a lot better here than Mozilla ones. ... Firefox 2 on RISC OS uses the native X backend; ... As for scrollbars in GTK2; I think the solution here is to override ...
    (comp.sys.acorn.apps)
  • Re: Customize webbrowser
    ... Windows Mobile 6 ... to customize a binary version of the browser or if you have the source code, ... I'm using control System.Windows.Forms.WebBrowser so I don't have ... Yes if all scrollbars means all scrollbars only in my application ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to show a picture in its original size (no autofit to window)
    ... browser to scale the image, he WANTS scrollbars if the image is too ... his mere mention of tables in this context might trigger, ...
    (alt.html)