Griffin Posted February 17, 2013 Report Share Posted February 17, 2013 Hello All Being fairly new to Dreamweaver and the use of CSS external Style Sheets I need some advice on the use of multiple style sheets for different page layouts in the same website. I intend to have an intro page and main content pages, and will use div tags to centre pages and contain backgrouds etc., so body and wrapper divs would differ from the intro to main content pages. So is it OK to use 2 style sheets which would be placed in the CSS folder? Any advice greatly appreciated Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 17, 2013 Report Share Posted February 17, 2013 Yes, it's OK to use multiple stylesheets. However, I don't really see any problem with using a single stylesheet that controls multiple page layouts. For example, you could add a class to the body tag on the page that would indicate the layout you are using on that page, then use that class when adding styling. For example: .layout1 #header { ...one set of styles for the header in layout #1... } .layout2 #header { ...another set of styles for the header in layout #2... } Quote Link to comment Share on other sites More sharing options...
Griffin Posted February 17, 2013 Author Report Share Posted February 17, 2013 Ben Thanks for the speedy reply, I'll have a go with this advice Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.