1 Reply Latest reply on Jun 3, 2010 10:34 AM by Nancy OShea

    Number of Style Sheets?



      I found this topic difficult to find in the forums. Forgive me if it has already been discussed.


      First of all, I'm somewhat new to Dreamweaver. I've created a main_content.css file for my website. I am confused now as to whether or not I should create a new style sheet or even embed the css when I have an html page that requires additional effects/items. For example, my Home page has a div tag titled #content, which contains text. Now, for my About page, I use the same layout (I created a template), but rather than have text in #content, I removed the text and inserted a few more div tags with images, etc. Should the css for these new div tags be contained within main_content.css? After all, I am only using them for the About page. If I embed them in the document or create a new style sheet, will they integrate properly with the main_content.css?


      I hope this question isn't too confusing. Thank you.

        • 1. Re: Number of Style Sheets?
          Nancy OShea Adobe Community Professional & MVP

          Without seeing your code, it's hard to give concrete answers.  As a rule of thumb, you should build your site layout with all the necessary ingredients.  That way you have only one stylesheet to worry about.


          Every now and then, you may have need for a different rule. A slightly different width on a container, for example.  In this case, use embedded CSS for that rule change.  Otherwise, all your divisions and classes should be defined in the external stylesheet.


          Hope this helps,


          Nancy O.
          Alt-Web Design & Publishing
          Web | Graphics | Print | Media  Specialists