By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,608 Members | 1,940 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,608 IT Pros & Developers. It's quick & easy.

overflow:scroll change the default color

P: 2
hy , i'm new in the webdesign domain.
and i need a code to change the defaul color (blue) of a scroll bar into dark colors:
this is the code:

<div align="left" style="width:697px;height:577px;overflow-y:scroll">

can you help me ?
Scuze me about my english..
Apr 18 '08 #1
Share this Question
Share on Google+
4 Replies

P: 2
i forgot to say something.
in IE7 with this code:

Expand|Select|Wrap|Line Numbers
  1. <script language="JavaScript">
  2. <!--
  10. //-->
  11. </script>
into body selection, is seems to working perfect, but in mozilla firefox, the script doesn't work :(
Why ?
Apr 18 '08 #2

Expert 100+
P: 392
Did you check Mozilla's DOM reference to see if that is supported?
Apr 19 '08 #3

Expert Mod 5K+
P: 5,390
i'm quite sure that this is an IE specific feature and it is not valid CSS ... the only way to have it would be to create a custom javascript scollbar ... which could be implemented for controls in your page ... for a first quick look have a look here so that you have something to start with ...

kind regards
Apr 19 '08 #4

Expert 5K+
P: 7,435
Yes. The scrollbar stuff is IE-only and not standard.
Apr 21 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.