RE: [PHP] CSS as PHP

From: Date: Tue, 22 Oct 2002 19:24:04 +0000
Subject: RE: [PHP] CSS as PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120968@lists.php.net to get a copy of this message
This rings a bell, I think I may have tried this unsuccessfully at one time. You can however create styles in a .php file and use "include" to place then into the main file. Works out to be essentially the same thing and opens up a whole lot of new possibilities in terms of dynamic styles. > -----Original Message----- > From: Liam.Gibbs@dfait-maeci.gc.ca [mailto:Liam.Gibbs@dfait-maeci.gc.ca] > Sent: Tuesday, October 22, 2002 3:13 PM > To: php-general@lists.php.net > Subject: [PHP] CSS as PHP > > > Can a CSS be written in PHP? > > For instance, can I store my style-sheet in Stylesheet.php as > > <?PHP > BODY { Text-Align: Justify; } > . > . > . > ?> > > And have it work? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#120968) next »