[PLUG] CSS question (scripting?)

gilmanhunt at attbi.com gilmanhunt at attbi.com
Fri May 9 10:12:02 UTC 2003


I've been doing some work with CSS styles; and it seems that the best way to do
it, in general, is to link webpages to external stylesheets. I'm trying to get
some consistency on my home site, and it's "inconvenient" to search and replace
for 5 instances of the same color to replace it with another color. Here it's a
link color, there it's a border. 

 If I associate *.css files with php in apache (in the .htaccess file, for
instance), I could use variables within them, right? Then I could modify the
variable at the top and have it replaced all through out the stylesheet. Is that
the best way to do it? 

Or would it be better to write a "stylesheet.inc" file that I'd use like
"include("stylesheet.inc")" and it'd show up as inline- it'd wind up being the
same, functionally, wouldn't it? 

And is there someone I should talk to about bringing my PC to the meeting on the
17th to get some help upgrading my old slackware to shiny clean debian? I have
some CDs. 
-Russ




More information about the PLUG mailing list