vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   CSS Scroll bar colors code in 3.07 (https://vborg.vbsupport.ru/showthread.php?t=83377)

syrus.xl 06-19-2005 09:12 AM

CSS Scroll bar colors code in 3.07
 
Hi,

I have been trying to find where I can insert the code to change my scroll bar colors in vB.

I did place it in the body code but all that did was change the scroll bars with anything in the vB body, not the actual browser scroll bars which I wanted to achieve. :ermm:

So, where should the code be inserted?

Zachery 06-19-2005 01:20 PM

Body doesn't work because your in XHTML 1.0 Trans

place it into the .html {} class instead.

syrus.xl 06-19-2005 08:22 PM

Well I tried adding the following code:

Code:

/* scroll bars */
.html {
                    scrollbar-arrow-color: #FF9933;
                    scrollbar-3dlight-color: #1194CD;
                    scrollbar-highlight-color: #F6F7F8;
                    scrollbar-face-color: #0099FF;
                    scrollbar-shadow-color: #0099FF;
                    scrollbar-track-color: #FF9933;
                    scrollbar-darkshadow-color: #0853AF;
}

in the Main CSS Style > Additional CSS Definitions and I still cannot get it working. Is this the correct place where this code should go?

filburt1 06-19-2005 09:24 PM

Note it is not valid CSS and will only work in Internet Explorer as it is; it's also considered bad UI design to change the scrollbar.

But, if you insist, remove the dot in from of the HTML declaration; you want to select the HTML tag, not any tag with a class of "html."

syrus.xl 06-20-2005 06:56 AM

I know its classed as bad UI design - but the rest of my site I have uses it. It has been around for years you would have thought it would be valid by now.

Thanks though, that worked :)


All times are GMT. The time now is 11:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01011 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete