SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Thread: Scroll Bars???

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Scroll Bars???

    How can you create or alter the scroll bar colors and shapes for yoour website, like they did in this website?

  2. #2
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <STYLE>
    BODY {
    scrollbar-face-color: #000000;
    scrollbar-shadow-color: #505050;
    scrollbar-highlight-color: #FFFFC0;
    scrollbar-3dlight-color: #505050;
    scrollbar-darkshadow-color: #505050;
    scrollbar-track-color: #505050;
    scrollbar-arrow-color: #FFFFC0;
    }
    </STYLE>
    Just change the colors and add it between the head tags.
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes!!! I knew there was a way to do it like that...Thanks

  4. #4
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just for the record...

    no browsers other than Internet Explorer 5.5+ support this 'illegal' extension.
    (Only IE 5.5+ users will see it)

    It is not supported by W3C and is not even officially being presented for inclusion in W3C standards by Microsoft (who created these extensions).

    Anywho... just so you know
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  5. #5
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, people that are using IE 5.5+ (which is alot of people) will be able to see it....

  6. #6
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Of course, IE 5.5+ (which is currently only available for PC) still covers the majority of users.
    Other browsers will still see the usual scrollbars, so it won't do any harm by adding it.

    Just wanted to make sure you were aware there were a few gaps in the coverage in case some people say they can't see it
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  7. #7
    @russellg RussellG's Avatar
    Join Date
    Jun 2000
    Location
    Gold Coast, Queensland
    Posts
    449
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was wondering why the CSS for my scrollbars were not working. When I upgraded to IE6 I was a little confused.
    russell.cz.cc - coming soon (I promise!)

  8. #8
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by RussellG
    I was wondering why the CSS for my scrollbars were not working.
    It isn't working because of the XHTML doctype you're using. If you don't specify any doctype, IE6 will render the code in "quirks mode," thus displaying your custom color selections.

  9. #9
    <?php echo(witty title)?> Sal Petrarca's Avatar
    Join Date
    Apr 2002
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Bill Posters
    Just for the record...

    no browsers other than Internet Explorer 5.5+ support this 'illegal' extension.
    (Only IE 5.5+ users will see it)

    It is not supported by W3C and is not even officially being presented for inclusion in W3C standards by Microsoft (who created these extensions).

    Anywho... just so you know

    *confused as all heck*
    So....how does it work then??

  10. #10
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It works because Microsoft built this trick directly into IE5.5+. They gave the browser support for recognizing these CSS styles, however, they're not "official," according to the W3C specs.

  11. #11
    SitePoint Member
    Join Date
    Apr 2002
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe it is an illegal function of CSS. Meaning, that W3C does not recognize it as part of their tag in their listings and therefore does not support it...right?


    P.S.
    It will still render correctly (or incorrectly, whichever)in IE 5.5 and up........


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •