Jump to content

What's my problem ??


Str
 Share

Recommended Posts

this is my css ..it works . exept for the scrollbar ..it's supposed to be blue so it blends in my backgroundbut it comes up gray as "normal"what do I do wrong ??<style><!--BODY{color:#FFFFFF; background-color:#273154;}a:link {color:#FFFFFF}a:visited {color:#FFFFFF}a:hover {color:yellow}a:active {color:#FFFFFF}scrollbar-face-color:#273154;scrollbar-arrow-color:#273154;scrollbar-track-color:#273154;scrollbar-shadow-color:'#273154';scrollbar-highlight-color:'#273154';scrollbar-3dlight-color:'#273154';scrollbar-darkshadow-Color:'#273154';}--></style>

Link to comment
Share on other sites

Your Scroll bar color have to be inside the HTML, or BODY Tags. In this case the scroll bar properties are not even inside an Element. For it to work you need this:

html, body {  color:#FFFFFF;  background-color:#273154;  scrollbar-face-color:#273154;  scrollbar-arrow-color:#273154;  scrollbar-track-color:#273154;  scrollbar-shadow-color:'#273154';  scrollbar-highlight-color:'#273154';  scrollbar-3dlight-color:'#273154';  scrollbar-darkshadow-Color:'#273154';}a:link {color:#FFFFFF}a:visited {color:#FFFFFF}a:hover {color:yellow}a:active {color:#FFFFFF}

Link to comment
Share on other sites

Whoops, my bad, I just noticed something, you can't have the apostrophe on the colors, so it will look like this:

html, body {  color: #ffffff;  background-color:#273154;  scrollbar-face-color:#273154;  scrollbar-arrow-color:#273154;  scrollbar-track-color:#273154;  scrollbar-shadow-color:#273154;  scrollbar-highlight-color:#273154;  scrollbar-3dlight-color:#273154;  scrollbar-darkshadow-Color:#273154;}

Also, If you don't want the scroll bar to appear at all, add

<body scroll="no">

If you already have a body tag just add scroll="no" to it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...