php and CSS level 2

From: Date: Sun, 21 Mar 2004 01:23:12 +0000
Subject: php and CSS level 2
Groups: php.general 
Request: Send a blank email to php-general+get-181061@lists.php.net to get a copy of this message
was just wondering if php will work inside a CSS level 2 style sheet?? for example: <?php ?> <style type="text/css"> <?php if(!empty($name)){ ?> input#name { display: none } <?php } else { ?> input#name { font-family: Arial, serif; font-size: 12pt; color: blue; background-color: transparent; ..... } <?php } ? /*rest of style sheet */ </style> if this will work i was wondering 2 things: 1. how would i have to set it up to work right with the style sheet with php in it to work as a seperate file from the html file and 2. how would i set the style sheet up to work inside the original html/php file that contained the original html code...

« previous php.general (#181061) next »