scroller color scroller color
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

scroller color

Started by ann-vibeke, October 27, 2005, 07:12:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ann-vibeke

In which area do I change the color of my scroller?

Kind regards/ann-vibeke
Ask people - but make your own decision.

Joachim Müller

If you're refering to the scroll-bars: this is done in themes/yourtheme/style.css
You will have to add a section like this  SCROLLBAR-FACE-COLOR: buttonface;
  SCROLLBAR-HIGHLIGHT-COLOR: white;
  SCROLLBAR-SHADOW-COLOR: buttonface;
  SCROLLBAR-3DLIGHT-COLOR: buttonface;
  SCROLLBAR-ARROW-COLOR: buttonshadow;
  SCROLLBAR-TRACK-COLOR: silver;
  SCROLLBAR-DARKSHADOW-COLOR: buttonshadow;
  SCROLLBAR-BASE-COLOR: buttonface;
or with actual color codes like thisscrollbar-base-color: #9999cc;
scrollbar-arrow-color: white;
scrollbar-track-color: #ccccff;

scrollbar-shadow-color: black;
scrollbar-lightshadow-color: black;
scrollbar-darkshadow-color: gray;

scrollbar-highlight-color: white;
scrollbar-3dlight-color: black;
There are loads of tutorials when googling for scrollbar css, e.g. this one: http://www.yourhtmlsource.com/stylesheets/scrollbars.html
Keep in mind that this will work for IE only and is imo one of the most over-user effects on the internet.

ann-vibeke

Thank you for answering my question ;-)

Usely I put my color-code in between <body> and </body>...
...where do I put the color-code in, when I have'nt this <> and </body> ?

kind regards/ann-vibeke
Ask people - but make your own decision.

kegobeer

GauGau's code goes in your theme's style.css file.  Doesn't matter where, just paste it at the end of the file.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

ann-vibeke

Now I have tried before 'body' and after 'body' in style.css - and my scroller still is grey....

This is my scroller-color-code:
scrollbar-face-color:#CF9FFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#800080;
scrollbar-darkshadow-color:#400040;
scrollbar-shadow-color:#800080;
scrollbar-arrow-color:#800080;
scrollbar-track-color:#800080;

Is there something wrong with my code?

kind regards/ann-vibeke
Ask people - but make your own decision.

Nibbler

Please post a link to your gallery.

ann-vibeke

Ask people - but make your own decision.

Nibbler

Check the link GauGau provided, that code needs to be associated with the html tag, like so:


html {

... code here...

}

ann-vibeke

Jubiii...now it works ;-)

Thank you so much!

kind regard/ann-vibeke
Ask people - but make your own decision.

Sheky