courses in dreamweaver - css

Forum home » Delegate support and help forum » Dreamweaver Training and help » courses in dreamweaver - CSS

courses in dreamweaver - CSS

resolvedResolved · 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 courses

 

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Paragraph formatting

in Dreamweaver if you type in text and press entre you get double line spacing.

To avoid this hold down the shift key and then press Enter for a soft break

View all Dreamweaver hints and tips


Server loaded in 0.06 secs.