dreamweaver courses in london - style sheets

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

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

dreamweaver courses in london - Style sheets

resolvedResolved · Low Priority · Version 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:

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.09 secs.