Graphic and Web Design Sydney Australia
HomeAbout usNewsSolutionsPortfolioContact us
Articles - Text size: small > large

Back to articles home

An introduction to rapid web-development with CSS
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

Prev



++ Back to top ++

 

Home | About | News | Articles | Solutions | Portfolio | Links | 4 Old site | Site map | Contact us
© 2005 Singer Design - design@singerdesign.com
Partners:4Print | Computer Shops | Design Place | Pistol
Graphic and Web Design Company, North Sydney, Australia