courses in dreamweaver - css
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 » courses in dreamweaver - CSS

courses in dreamweaver - CSS

resolvedResolved · Low Priority · Version Standard

replyReply Tue 19 Jun 2007, 15:32Delegate Stanley said...

Stanley has attended:
Dreamweaver 8 Intermediate course

CSS

How do i apply a css file to every page of the website ?

For upcoming training course dates see: Pricing & availability

replyReply Tue 19 Jun 2007, 17:47Trainer Rich said...

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

 

Dreamweaver tip:

Testing a site

When developing a site, you have to cater to the widest possible audience allowing for users with different browsers and display settings.
Test pages to see how they look with:

- different display resolutions
- browser with graphics turned off
- many different browsers not just IE
- if possible different operating systems.

View all Dreamweaver hints and tips


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