Justin, when you echo/print your CSS info, you can add tabs /t and newlines /n to your documents for indentation and organization in the source if that's what you're after.
Otherwise, when you output it to the browser it's going to print it to a few lines with no discernable order. -M -----Original Message----- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 10:42 PM To: php Subject: [PHP] do i need to output headers on parsed CSS files? Hi all, I'm forcing my style sheets (.css) though the PHP parser, so that they can take advantage of some color variables and global config settings via include files, eg: body { background-color: #<?=$col['1']?>; } however, I've noticed that when viewing the CSS file in a browser now, it looks more like a HTML document int he browser (variable width fonts, no newlines, etc) rather than other css files (wich look like they have <pre> tags aroun them (newlines visible, fixed-width font, etc). So, my assumption is that pushing the .css file through PHP is putting the wrong header on the file (text/html) rather than text/css -- or perhaps something else -- my header knowledge is poor. Anyway, the pages and linked CSS files *work* but do not validate any more, witha warning "You can't import an HTML document". What/how should I force the correct headers on these PHP-parsed CSS files? TIA Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php