![]() |
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:) |
Quote:
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. |
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 |
thanks alot guys im guna read the help and defentley get a book
|
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. |
All times are GMT -7. The time now is 05:05 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123