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 » dreamweaver courses in london - Style sheets
dreamweaver courses in london - Style sheets
Resolved · 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 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. |