dreamweaver courses in london - style sheets
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

replyReply Tue 17 Jul 2007, 15:19Delegate James said...

James has attended:
Dreamweaver 8 Intermediate course

Style sheets

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

For upcoming training course dates see: Pricing & availability

replyReply Thu 19 Jul 2007, 10:08Trainer Rich said...

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

 


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard