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...



Reply via email to