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.
|
|
|
|
|
![]() |
||
scrollbar colors & external css
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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.
|
|
|||
|
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.
|
|
|||
|
Good call, scrollbar painting is generally considered a bad idea.
|
|
|||
|
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.
|
![]() |
| Tags |
| scrollbar, colors, external, css |
| Thread Tools | |
|
|
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 |