SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: scroll bar wont work in Fiefox
-
Oct 10, 2007, 10:11 #1
- 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>
-
Oct 10, 2007, 12:20 #2
- 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
-
Oct 10, 2007, 12:46 #3
- Join Date
- Sep 2005
- Location
- Sydney, NSW, Australia
- Posts
- 16,875
- 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="^$">
-
Oct 10, 2007, 18:27 #4
- 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).
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
Bookmarks