XHTML & CSS Template

Current Files

These are the files I use to start my websites. These templates are always changing as I learn new techniques.

Individual Files

ZIPed

Resources Used

Notes

XHTML File

I've started using XHTML, but this file could easily be changed into HTML (not that there's much reason too…). Change it to fit your needs. I'd recommend sticking with a strict DOCTYPE though.

You'll notice a link to a script file (generic.js) in the index.html file. I usually use some generic JavaScripts in every site I make, and I'll probably put that file on here at some point. For now you can just remove that line or make you own generic.js file.

I've also got an image in there (to logo.gif). I use that mainly for printed versions of the website. Remove it if you don't need it.

CSS Files

The use of these three basic css files gives me lots of options for formatting across screen and print. If I need to include a handheld css file, it can easily be added, and the styles on the generic.css file will also apply.

The generic.css is for:

The screen.css file is for:

Most of the stuff on generic.css is used for printing, but some changes are needed for printing so a print.css file is needed.
The print.css file is for: