GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 1,227

0 members and 1,227 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2004
    Location
    GFXVoid
    Posts
    4,412

    Default

    All you have to do is insert this into your .CSS stylesheet file, and you can alter the right side scrollbar color (only works in Internet Explorer Browsers). Just replace the #000000 with the hex colors you want! You can find the color you want using the Color Schemer

    Code:
    body {
    scrollbar-3dlight-color: #000000;
    scrollbar-arrow-color:#000000;
    scrollbar-darkshadow-color: #000000;
    scrollbar-face-color:#000000;
    scrollbar-highlight-color:#000000;
    scrollbar-shadow-color: #000000;
    scrollbar-track-color: #000000;
    }
    If you enjoyed this tutorial, we suggest you register on our forums and post an introduction!

  2. #2
    Join Date
    Feb 2005
    Location
    va
    Posts
    29

    Default

    if you care about css validation do not use this as it is illegal code and it will only work in IE

  3. #3
    Join Date
    Mar 2005
    Posts
    13

    Default

    same goes with "filters" for HTML. IE only, and should be avoided.

  4. #4
    Join Date
    Feb 2005
    Posts
    22

    Default

    Keep in mind that browser-specific extensions that don't affect the functionality of the page really aren't going to matter. If you want IE users to have colored scroll-bars, even if Mozilla users have to go without, it's not going to break the page or anything; browsers that don't support the extension will just ignore the style rule.

    In some cases, other browsers may even eventually support the extension, whether its part of the official CSS spec or not. This was exactly the case with Iframes, for instance, which were originally an IE-only extension.

    dmeister

  5. #5
    Join Date
    Feb 2005
    Posts
    22

    Default

    same goes with "filters" for HTML. IE only, and should be avoided
    The -moz-opacity attribute is actually another example of a Mozilla implementation of an IE-like extension (IE's Alpha filter). You could, for instance, create a style rule for an absolute-positioned DIV tag with a 50% transparency (a rather neat looking effect), in both IE and Mozilla browsers, with:

    .someDiv { position: absolute; -moz-opacity: 0.5; filter: alpha(opacity=50); }

    dmeister

Similar Threads

  1. Multi-Coloring Tutorial
    By KlngMe in forum Other Tutorials
    Replies: 14
    Last Post: 06-09-2006, 08:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1