Stanley has attended:
Dreamweaver 8 Intermediate course
CSS
How do i apply a css file to every page of the website ?
RE: CSS
Hi Stanley,
Great question.
I always store my global styles in a separate .css file. For me it's in a folder called /asset/css
Then between the <HEAD> tags of every page (in your template is best!), have code like this:
<link href="/asset/css/global.css" rel="stylesheet" type="text/css">
which will link to that .css file each time. This is called stylesheet linking, and I would definitely recommend using it. You can link as many stylesheets in this way as you like.
Even if you're linking to a stylesheet, you can still override any styles on a particular page by redefining the same style 'in this document only (ie. between <STYLE> tags after your <LINK> tag). That's one of the reasons they call it cascading!
Thanks for attending our Dreamweaver Intermediate course today.
Regards, Rich