SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2003
    Location
    New York
    Posts
    182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scroll bar wont work in Fiefox

    Hello guys, I'm using this code for scroll bar style, however, it only works in IE, but now in Firefox. can anybody help me?

    Code:
    <!--
    div.pagescroll {
     color: #333333;
     background-color:transparent;
     width:582px;
     height:360px;
     scrollbar-arrow-color:#AE8A8A;
     scrollbar-face-color:white;
     scrollbar-shadow-color:#834B4B;
     scrollbar-highlight-color:#AE8A8A;
     overflow: auto;
     overflow-x: hidden;
     padding-right:5px
    }
    -->
    </style>
    thank you!

  2. #2
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As far as I'm aware, it's not longer valid CSS and won't be supported in Firefox, Opera or Safari

    There possibly might be a JavaScript way of doing it but I wouldn't bother personally as it's likely to confuse users.

    It's also something that was heavily used five or six years ago so if that's the look you're going for then stick a few dancing skeleton's, flaming logo's, marquee's and animated gif's on your page for good measure

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,869
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The scrollbar is part of the browser and not part of the web page. That code is IE proprietary and will only work in IE and Opera and only there if the browser owner allows it. IE has that option on by default and Opera has it off by default and there is no real reason for Opera users to turn it on while there are good reasons for IE users to turn it off and so you can expect that the effect will only be seen by some of the IE users who visit your site (mainly those too new to the web to know how to turn that off).
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Konqueror will use it as well, Stephen. But yeah, it's not valid CSS (and never was to begin with).


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
  •