scrollbar colors & external css

This is a discussion on "scrollbar colors & external css" within the Web Page Design section. This forum, and the thread "scrollbar colors & external css are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Nov 13th, 2004, 13:23
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 47
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
scrollbar colors & external css

Taking a break from Flash and thought I'd play around with css a bit. I want to change the scrollbar colors, but I'm not sure WHERE to put the code on the page.

Also, is it possible to use an external css for most elements, but not for all? I don't have the same fixed background image on my pages, so I don't want to access the same css sheet, which means I have the code on each page for the background image.

While I've tried to use the external for non-underlined links, hover colors and even the scrollbar colors.... I must be placing the code in the wrong location or something because I can't get it to work.

Help. lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Nov 13th, 2004, 13:37
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 47
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Oops. Need to clarify something: I DO want to access the same css file for no underline, link hover color, and scrollbar colors... but NOT for background images. Is it possible to have those on an external css document and keep the non tiling background image as code on the page?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Nov 13th, 2004, 19:29
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
You can have 3 types of CSS:

1. External - a link is made to an external CSS file in the document header.
2. Internal - the CSS code resides in a block inside the document header.
3. Inline - CSS code is applied to HTML elements directly as parameters.

You can use a combination of all three of these, but for good quality code, best advice is to stick with an external style sheet.

Note that the order of preference in in reverse to that displayed above - inline CSS takes precendence over Internal CSS, whihc takes precedence over External CSS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Nov 13th, 2004, 20:24
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Where you put the code for the scroll bar colors depends on which scroll bars you want affected. For the main ones it would go in the BODY definition in your style sheet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Nov 14th, 2004, 00:32
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 47
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, D3mon and Catalyst. After looking around the web, reading comments, etc. about changing scrollbar colors, I decided to nix the idea. I think I was just bored, and I thought that maybe that would be a bit much for the site I was going to use it on. But, I've copied and pasted the info here in case I change my mind again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Nov 14th, 2004, 20:09
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Good call, scrollbar painting is generally considered a bad idea.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Nov 14th, 2004, 23:00
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 47
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
D3mon, I think it was a close call. lol I was lured by boredom. No joke. I felt myself slipping back into 2nd generation web design when everything blinked, changed color... you know the drill.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
scrollbar, colors, external, css

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Your opinion about Colors saidbakr Free Web Site Critique 13 Jul 9th, 2008 16:08
Help me choose the right colors for my website welshstew Graphics and 3D 4 Apr 23rd, 2008 20:24
Please, help choose the right colors for my web page 3DProf4online Graphics and 3D 2 Oct 4th, 2007 12:37
changing background colors DavidinLondon JavaScript Forum 1 May 21st, 2006 12:26
Table border colors MotorMouth Web Page Design 5 Nov 19th, 2004 22:37


All times are GMT. The time now is 03:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42