Jump to content
Killersites Forums

Multiple External Style Sheets


Recommended Posts

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

Link to post
Share on other sites

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... }

Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...