Hi, I'm trying to have a CSS file build dynamically by php but I'm having problems with it in firefox. I would like to note that the php is NOT the problem. The outputed css is just as expected ie.
....
#edit1, #edit2, #edit3, #edit4, .... {
backgroun-color:red;
}
....
style1.php
....
<?php
for($i=0;$i<$thenumber;$i++) {
echo(($i==0?'',',').'#edit'.$i);
}
?> {
background-color:red;
}
...
The problem seems to be firefox not liking the href for a stylesheet link being .php rather than .css. It seems to just completely ignore it.
Is there another way to achieve the same goal with CSS or some way of making the .php file acceptable to firefox?
Thanks
Bubble