Free Webmasters Resource
 

Free Graphics, Tutorials, Scripts, Webmaster Forums, Web Templates, SEO Tools, & Much More!!

Home Scripts Tutorials Free Downloads Articles SEO Play Free Games Web Templates

Scrollbars

Adding effects to your scrollbars is an easy way to add flavor to your page.

The first thing you need to know is where to put the script. The script goes in the head section of your page (between the <head> and </head>). Basically, it uses the style tag. The script looks like this:

<style>
<!--
BODY{
scrollbar-face-color: #000000;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: #707070;
scrollbar-shadow-color: #FFFFFF;
scrollbar-highlight-color: #d9d9d9;
scrollbar-3dlight-color: #009900;
scrollbar-darkshadow-Color: #993300;
}
-->
</style>


The most important attributes are first three. The first one changes the color of the bulky mass in the scrollbar that moves while you scroll. The second changes the color of the track behind that bulk. The third one changes the little arrow color at the bottom and top of the scrollbar. The rest control subtle changes that may be left out if you wish. If you want to create a simple, flat-looking scrollbar, then using the first three is all you will need. The code would look like so:

<style>
<!--
BODY{
scrollbar-face-color: #000000;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: #707070;
}
-->
</style>


Here is an example of the scrollbars in each instance (the first one having all six attributes, and the second one having only three).

 

Tutorials: HTML

Title/Description

Level

Backgrounds: Tutorial
Learn how to effectively add backgrounds to your page that make your page look professional or amateur.

Beginner

Imagemaps: Tutorial
Make one image into various clickable regions using only HTML

Intermediate

Embedding Fonts: Tutorial
Learn how to use uncommon fonts in web pages by embedding them.

Advanced

Images: Tutorial
Positioning images can make your images look just right when inserted into text.

Intermediate

Form Effects: Tutorial
Learn how to create trendy forms with simple style commands as well as with CSS classes.

Intermediate

Layers: Tutorial
Layers can make complicated image placement possible.

Advanced

Forms: Tutorial
Use forms to gather information from your users.

Advanced

Links: Tutorial
Making links in HTML is the easiest thing you will ever do.

Beginner

Frames: Tutorial
Learn how to create frames that enable you to create navigation systems on your site.

Advanced

Scrollbars: Tutorial
Learn how to add effects to your scrollbars and add flavor to your page.

Advanced

Hide From Print: Tutorial
Learn how to only allow a visitor to print part of your page using CSS.

Intermediate

SSI: Tutorial
Learning how to do SSI will save you a lot of authoring time.

Advanced

Horizontal Line: Tutorial
The horizontal line serves as a great separator tool.

Beginner

Table Styles: Tutorial
Learn how to add various table styles such as dash or dot borders, and many other things.

Intermediate

Iframes: Tutorial
Iframes can organize your website into clean sections.

Advanced

Tables: Tutorial
Organize your web page layouts with tables.

Intermediate

216 Web Safe Color Chart: Tutorial
The 216-color color-safe palette refers to colors (RGB values) that will appear the same on either IE or Netscape and Windows or Mac platforms.

Beginner

Pantone RGB/Hex/HTML Colors: Tutorial
This table contains all pantone colors converted to RGB and Hex. It displays them all in HTML colors.

Intermediate

 


Home Contact Credits Flash Templates Webmaster Forums Site Map Webmaster Resources Advertise

Templates Resource Hosting
Domain Names · Templates Resource