PDA

View Full Version : is it possible to use 2 css styles in a website?


liliace
03-22-2009, 02:33 PM
Hi, i'm creating my first site with dreamwaver and i was wondering if there is a way to use 2 css styles in a website...for example, a css for the index and a different one for the rest like about, contact, etc...

Corrosive
03-22-2009, 02:45 PM
Hi, i'm creating my first site with dreamwaver and i was wondering if there is a way to use 2 css styles in a website...for example, a css for the index and a different one for the rest like about, contact, etc...

Yes, you can use as many stylesheets as you like. Just attach the ones you need to the relevant pages. You can even have multiple stylesheets for one page if you wanted.

liliace
03-22-2009, 07:41 PM
how do i do that?

edbr
03-23-2009, 12:39 AM
you could also use different classes, but otherwise just link each page to a different style sheet. Typically i have a layout which i place my divs, a classes and a text sheet . i do this as i find it easier to sort the various elements