On Fri, 2005-05-13 at 11:25, Sarah Atkinson wrote:
> Out of curiosity can you use PHP with in a CSS. Like maybe have a list of
> background images located in a DB and PHP select and insert on into the CSS.
> and possibly even have the user define things like font size, font color,
> background color, and typeface.
> Sarah
Yes, do it all the time.
You nee to make sure you send the right Content-type header though.
Put this first thing at the top of your .css file, name the file
*.css.php and call it from your xhtml as such.
<?php
header("Content-type: text/css" );
?>
--
s/:-[(/]/:-)/g
Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
Key Info: http://gfx-design.com/keys
Linux Registered User #339825 at http://counter.li.org
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/