| Author |
Change colour of a frames scroll bar
|
|
| tomek83 2005-08-30, 7:38 pm |
| Hey everyone,
I wanted to thank the people who helped me last time with the flash button
issue.
Anyways, here I m stuck again with a hopefully a small problem in Dreamweaver.
I want to change the colour of my frames scroll bar and the size of the frame
scoll bar, how do I do that? Is this related to CSS? And in that case you
someone give me a quick guide to how to change the size and the colour.
Best Regards
Tomek
| |
| rilkesf 2005-08-30, 7:38 pm |
| Changing the scrollbar colors only works in Internet Explorer, not any other
browser. I would avoid it.
If you still want to do it though, add the following code between <head> and
</head> and then just change the hex codes for the colors you want.
<style type="text/css">
body{
scrollbar-face-color:#EBF5FF;
scrollbar-base-color:#EBF5FF;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#F3F3F3;
scrollbar-shadow-color:#EBF5FF;
scrollbar-highlight-color:#EBF5FF;
scrollbar-3dlight-color:#78AAFF;
scrollbar-darkshadow-color:#78AAFF;
}
</style>
As for the width .. to my knowledge you can't change the scrollbar width.
| |
| Travis 2005-08-30, 7:38 pm |
| It only works in IE on a PC. Also if you want your CSS to validate wrap
it in a conditional comment that targets only IE like so:
<!--[if IE]>
<style type="text/css">
body{
scrollbar-face-color:#EBF5FF;
scrollbar-base-color:#EBF5FF;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#F3F3F3;
scrollbar-shadow-color:#EBF5FF;
scrollbar-highlight-color:#EBF5FF;
scrollbar-3dlight-color:#78AAFF;
scrollbar-darkshadow-color:#78AAFF; }
</style>
<![endif]-->
Travis
***************************************
Free Templates, Javascript, Fonts & More. - http://www.webblobber.com
Premium Templates - http://www.webblobber.com/templates/premium/
Tutorials - http://www.webblobber.com/tutorials/
***************************************
rilkesf wrote:
> Changing the scrollbar colors only works in Internet Explorer, not any other
> browser. I would avoid it.
>
> If you still want to do it though, add the following code between <head> and
> </head> and then just change the hex codes for the colors you want.
>
> <style type="text/css">
> body{
> scrollbar-face-color:#EBF5FF;
> scrollbar-base-color:#EBF5FF;
> scrollbar-arrow-color:#000000;
> scrollbar-track-color:#F3F3F3;
> scrollbar-shadow-color:#EBF5FF;
> scrollbar-highlight-color:#EBF5FF;
> scrollbar-3dlight-color:#78AAFF;
> scrollbar-darkshadow-color:#78AAFF;
> }
> </style>
>
> As for the width .. to my knowledge you can't change the scrollbar width.
>
| |
| tomek83 2005-08-31, 7:34 pm |
|
Thanks Guys!
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |