Yes....

just include this tag in the head of you HTML
<LINK HREF="style.css" type="text/css" rel="stylesheet">


then call this style.css
A:link { color: #660000; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }
A:active { color: black; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }
A:visited { color: #660000; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }
A:hover { color: black; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }

DIV.topright { color: #000000; font-size: 9pt; face: Verdana, Helvetica,
Arial; }
P.main { text-indent: 1em; color: #660000; font-size: 9pt; face: Verdana,
Helvetica, Arial; }
P.titlebar { text-indent: 2em; color: #660000; font-size: 9pt; face:
Verdana, Helvetica, Arial; }

BODY { background: #660000; font-size: 9pt; font-family: Verdana, Arial,
Helvetica, sans-serif; font-color="#660000";  }
FONT.titlebar { color: #660000; font-weight: 700; font-size: 45pt;
font-family: Garamond, Verdana, Helvetica;}
I { color: #660000; font-size: 20pt; font-family: times new roman,
Helvetica;  }
B { color: #660000; font-size: 20pt; font-family: times new roman, Arial,
Verdana, Helvetica, Arial;}

this is a sample from one of my sites...it changes everything in the body
tag and the links will change too....the FONT.titlebar will change anything
that has a class="titlebar" tag in the HTML (eg. <font class="titlebar"> )

hope this helps....here is an example of changing the link color based on
story.
http://konversion.thekult.org
mouse around a little. you'll see what I mean...

nixter
-----------------------------------------------------------
Nick.Stankus
Software Engineer
Logicon/Sterling Federal
402-232-7870
-----------------------------------------------------------
"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein

----- Original Message -----
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 2:37 PM
Subject: [PHP] CSS with PHP


| Hello
|
| Sorry if this is a little off subject, but I am working on a php script
that
| changes the CSS of all the pages in a web site.  I was wondering if in CSS
| you could make a CSS that made all text a certain color and size. not
| including links and form objects
|
| Thank you,
|
| --------------------------------------------
| Brandon Orther
| WebIntellects Design/Development Manager
| [EMAIL PROTECTED]
| 800-994-6364
| www.webintellects.com
| --------------------------------------------
|
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to