CSS file in Dreamweaver

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Borka
    • Oct 2026

    #1

    CSS file in Dreamweaver

    Hi, i have just started working with dreamweaver not to long ago and ive read about the css file and im not to clear on it. can someone explain exactly what is a css file that usualy goes with many of the sites out there and its is neccessary to have one, what if you dont for your site? advantages disadvantages ?

    Thanks alot for all your help
  • aico
    Moo Moo Cow
    • Mar 2004
    • 14748

    #2
    Originally posted by Borka
    Hi, i have just started working with dreamweaver not to long ago and ive read about the css file and im not to clear on it. can someone explain exactly what is a css file that usualy goes with many of the sites out there and its is neccessary to have one, what if you dont for your site? advantages disadvantages ?

    Thanks alot for all your help
    CSS = Cascading Style Sheet. It's how you control the look of your page. You don't need one to make a page, but it makes it a lot easier to make a page look how you want as far as design, fonts, colors, etc.. A CSS file is an external file linked to by your webpages, you can also have the styles on the page.

    There's a ton of shit you can do with it, too much to just tell you, best to buy a book and learn about it.

    Comment

    • MGPspots
      Confirmed User
      • Jan 2005
      • 422

      #3
      lots and lots of uses
      but the main one is to save a file of all the text styles in the site so u dont have to use the font attribute on each text part. Just check out dw help - it is easy to get going with css in dw
      SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text.

      Comment

      • Borka

        #4
        thanks alot guys im guna read the help and defentley get a book

        Comment

        • aico
          Moo Moo Cow
          • Mar 2004
          • 14748

          #5
          Here's a quick example:

          if you put this in your code (usually in the head, but doesn't matter)
          <style type="text/css">
          <!--
          .style1 {
          FONT-SIZE: 12px;
          COLOR: #000000;
          FONT-FAMILY: Tahoma, Verdana, Arial, Helvetica, sans-serif

          -->
          </style>


          You've made a "class" called "style1".

          So you can do this:
          <p class="style1">Text</p>

          The word Text will now be 12px is size, Black, and the font Tahoma or other in order of availability.

          Comment

          Working...