Style Sheet

windows

Guest
Can anyone point me to a good resource for style sheets?<br />
<br />
On that same question, can you use just about anything in a style sheet say:<br />
<br />
<style><br />
BODY<br />
{<br />
scrollbar-face-color:#FFC0CB; <br />
scrollbar-shadow-color:#FFC0CB;<br />
scrollbar-highlight-color:#FFC0CB; <br />
scrollbar-arrow-color:#DB7093;<br />
}<br />
</style><br />
<br />
that way I don't have to retype this in every page?<br />
<br />
Lastly, on that scrollbar referance above, look at <!-- m --><a class="postlink" href="http://home.att.net/~mtcarrigan">http://home.att.net/~mtcarrigan</a><!-- m --> and tell me if the scroll bar coloring looks professional or if I should leave it with its default. I have this blue theme going on with the page so I thought I would give it a shot.<br />
<br />
Thanks<!--content-->As far as I know, anything to do with style can go in a CSS. You can even link to multiple CSS's on the same page. Anything you don't want to use in a specific CSS you can override by using an inline CSS or style attributes directly in HTML tags. <br />
<br />
some CSS resources:<br />
<br />
<!-- m --><a class="postlink" href="http://www.westciv.com/style_master/academy/css_tutorial/">http://www.westciv.com/style_master/aca ... _tutorial/</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/css_reference.asp">http://www.w3schools.com/css/css_reference.asp</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.htmlgoodies.com/">http://www.htmlgoodies.com/</a><!-- m --><br />
<br />
I don't have IE5.5 so I can not check your scrollbar code.<br />
<br />
Regards,<br />
Kevin<!--content-->I have considered using colored scrollbars myself, but decided not to. Personally, I think it's just a gimmick, which does not give the user any kind of improved functionality. Ok, I admit, it does look nice on some sites, but when using a white background, I'd go with standard toolbars. If you decide to keep colored toolbars, you should choose colors which goes along with the rest of your site, like that light blue on your menu buttons, for example.<br />
<br />
And, yes, toolbar colors can be included in the external style sheet.<br />
<br />
Just add the following lines to a text file in notepad, and then save as .css<br />
<br />
BODY {<br />
scrollbar-face-color:#FFC0CB; <br />
scrollbar-shadow-color:#FFC0CB; <br />
scrollbar-highlight-color:#FFC0CB; <br />
scrollbar-arrow-color:#DB7093; <br />
}<br />
<br />
Then add this line inside the header of all your documents:<br />
<br />
<LINK REL="STYLESHEET" HREF=http://www.htmlforums.com/archive/index.php/"yourfile.css"><br />
<br />
Nice looking site, by the way.<br />
-aslefo<!--content-->Thanks aslefo, I'm color blind and didn't even think to go back and chack my hex codes to make sure they matched, I just started sticking colors in it.<br />
<br />
You do have a good point with the white background, I'll probably take it out before final for my customer.<br />
<br />
Thanks Kevin, for the refs<!--content-->
 
Back
Top