|
Written by: James Gregory
Source: Shipyard
Skill Level: Novice
A Technicality
Before I go on, I should give you some guidance about how you pull your CSS file in on each page. It's all straightforward boiler-plate stuff, so just copy and paste this when you start a new page.
On the very first line you need to have a DOCTYPE header. In general you should use the DOCTYPE for HTML 4.01 Strict. So your first line will look like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Then in the <head> section of your HTML, you need to include a line to read in your CSS file. Something like this:
<link
media="screen"
href="styles.css"
type="text/css"
rel="stylesheet" />
Then you just drop all your CSS classes into a file called styles.css and you're done
Contents

++ Back to top ++
|