98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Dreamweaver Training and help » courses in dreamweaver - CSS
courses in dreamweaver - CSS
Resolved · Low Priority · Version Standard
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
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Dreamweaver tip:Paragraph formattingin Dreamweaver if you type in text and press entre you get double line spacing. |