GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS file in Dreamweaver (https://gfy.com/showthread.php?t=564656)

Borka 01-16-2006 09:58 PM

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 01-16-2006 10:04 PM

Quote:

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.

MGPspots 01-16-2006 10:06 PM

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

Borka 01-16-2006 10:26 PM

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

aico 01-16-2006 10:35 PM

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