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. SarahYou can actually do a style.php and format it like a document specific stylesheet but I think you then have trouble validating a stylesheet, well maybe not it would be included in a page like <? include('style.php') ;?> and it would just look like this in the page:
<head tags all up in here>
<style type="text/css">
<!--
.classofsomesorts {font-face: Geneva; etc}
-->
</style>And when the php file is rendered the databased info and dynamic stuff is of course not viewable to sneaky source readers.
Jack Keller | cell7.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/
