Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dreamweaver courses in london - style sheets

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver courses in london - Style sheets

dreamweaver courses in london - Style sheets

ResolvedVersion Standard

James has attended:
Dreamweaver 8 Intermediate course

Style sheets

How do I create a style sheet and use it on everyone of my pages?

RE: Style sheets

James,

You can put all of your stylesheet information in 1 (or more) .css files, then at the top of each web page link to the css like this:

<link href="/global.css" rel="stylesheet" type="text/css">

This assumes your css file is called global.css and is in the root folder of your web site.

I like to put my stylesheet files in a folder /asset/css so they are all together.

In dreamweaver, when you first add a new CSS style, it will ask you where you want to create it. Either in a file (will prompt you to save and name the file) or 'in this document only', which will put the definitions at the top of your web page.

Linking to an external css file is a much better option, because it gives you greater flexibility. Define styles at the top of a web page if the style is ONLY going to be used on that page, and nowhere else.

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:

Quick Tag Editor

If you want to quickly access your HTMl tag while in design view, highlight your item on a page and press Ctrl+T

View all Dreamweaver hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.