syrupcore
03-22-2006, 05:17 PM
Hi,
I'm a front end designer/builder. With sites that run php, I use Patrick Fitzgerald's (http://www.barelyfitz.com/projects/csscolor/) method of using variables to set css colors. It's simple to use and keeps colors consistent across 1500 line styles sheets.
It's a simple PHP method. Some sites I work on do not have PHP available, running asp or asp.net instead. I've only done a few formish things with asp.
Can some one tell me how to mimic this PHP behavior: <?php header("Content-type: text/css"); ?>
The process is simple. make style sheet, save it as styles.php and link to 'styles.php' as your stylesheet in the HTML document. That bit of code there tells the browser to actually serve it as CSS, not PHP. I'm sure there's an ASP equivalent but heck if I can find it.
Thanks much,
Will
PS. If some one knows how to do it in coldfusion, I'd be sussed for the other third of sites. ;)
I'm a front end designer/builder. With sites that run php, I use Patrick Fitzgerald's (http://www.barelyfitz.com/projects/csscolor/) method of using variables to set css colors. It's simple to use and keeps colors consistent across 1500 line styles sheets.
It's a simple PHP method. Some sites I work on do not have PHP available, running asp or asp.net instead. I've only done a few formish things with asp.
Can some one tell me how to mimic this PHP behavior: <?php header("Content-type: text/css"); ?>
The process is simple. make style sheet, save it as styles.php and link to 'styles.php' as your stylesheet in the HTML document. That bit of code there tells the browser to actually serve it as CSS, not PHP. I'm sure there's an ASP equivalent but heck if I can find it.
Thanks much,
Will
PS. If some one knows how to do it in coldfusion, I'd be sussed for the other third of sites. ;)