|
Home
Forums
Awards for You
Winners
Awards Won
About Us
Past Layouts
Past Updates

Site Rules
Site FAQ
Site Staff
Credits
Link to Us
Link Exchange
Linkage
Affiliation

Latest Contest
Previous Contest
Contest Winners
Mini Contests
General Rules

100x100 Icons
64x64 Icons
70x70 Icons
AIM Icons
Archived Icons

Signatures
Buttons
Banners
Wallpapers
Enter Signs
Hiatus Signs
LJ Headers
Friends Only Banners

Div Layer
Tables
iFrames
PopUp

Brushes
Extractions
Vectors
Icon Bases
Icon Creator

HTML Tutorials
CSS Turoials
Let's Make a Layout
Graphics Tutorials
Do's and Don'ts




Bassman Themes
|
|
Linking to an Outside Style Sheet
A brief little chat about what a Style sheet is. A style sheet is something that is used to create different effects, hover links, background properties, scrollbar changes, and various other things.
Or as Aaron simply put it: It's a better way of defining formatting for HTML objects, really..
A word of caution about CSS though. Not all broswers accept CSS. They don't all read it the same way, so be careful how much you rely on it.
A style sheet can be inline with the original html document or it can be linked to by using the following HTML code
<link rel="stylesheet" type="text/css" href="/style.css">
Okay so now that we know what it looks like let's break it down a bit.
The link rel is to tell us what we're relatively linking to and it's a stylesheet.
The type is to tell us what this stylesheet is and it's text/css
the href like with a "a href" is top tell us where to find the document. I have my style sheet in the root directory of my site so I have the / to tell it to go to the route and then I have the name of the document style.css
A style sheet must always have the extension .css
| |