: http://www.php.net/unsub.php
full ack,
you only have to make sure that zlib.output_compression is off (at least in
that folder),
if you want IE6 users to be able to read the css content !
--
View this message in context:
http://www.nabble.com/php-css-and-.htaccess-tf2308435.html#a6465094
On Wed, September 20, 2006 5:18 pm, tedd wrote:
Hi gang:
I embedded php code inside css and changed my .htaccess to read --
FilesMatch \.(htm|html|css)$
SetHandler application/x-httpd-php
/FilesMatch
-- so that the css file would be processed and executed by php. The
end result was
On Thu, September 21, 2006 10:37 am, David Giragosian wrote:
So with this approach you're able to tailor css styles for specific
browsers
and their particular implementations of css, rather than employ hacks
directly in the css??
That's one possible use.
Really, though, once your CSS is
On Thu, September 21, 2006 12:17 pm, tedd wrote:
To the gang -- is this something new, or am I getting excited over
nothing?
I been doing it long time now...
You mean everybody doesn't run their CSS through PHP so they can make
it do what they want for each page?
How odd... :-)
--
Like
tedd wrote:
I embedded php code inside css and changed my .htaccess to read --
FilesMatch \.(htm|html|css)$
SetHandler application/x-httpd-php
/FilesMatch
-- so that the css file would be processed and executed by php. The end
result was that everything worked and did what I wanted.
On 9/21/06, tedd [EMAIL PROTECTED] wrote:
tedd wrote:
I embedded php code inside css and changed my .htaccess to read --
FilesMatch \.(htm|html|css)$
SetHandler application/x-httpd-php
/FilesMatch
-- so that the css file would be processed and executed by php. The
end
result
At 10:37 AM -0500 9/21/06, David Giragosian wrote:
On 9/21/06, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
-snip-
Now, this header coupled with the above .htaccess allows php code to
be embedded within a css file AND work for all popular browsers,
including FireFox/Mozillia.
-snip-
On 9/21/06, tedd [EMAIL PROTECTED] wrote:
At 10:37 AM -0500 9/21/06, David Giragosian wrote:
On 9/21/06, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
-snip-
Now, this header coupled with the above .htaccess allows php code to
be embedded within a css file AND work for all popular
Hi gang:
I embedded php code inside css and changed my .htaccess to read --
FilesMatch \.(htm|html|css)$
SetHandler application/x-httpd-php
/FilesMatch
-- so that the css file would be processed and executed by php. The
end result was that everything worked and did what I wanted.
However,
tedd wrote:
Hi gang:
I embedded php code inside css and changed my .htaccess to read --
FilesMatch \.(htm|html|css)$
SetHandler application/x-httpd-php
/FilesMatch
-- so that the css file would be processed and executed by php. The end
result was that everything worked and did what I
Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FF needs
header('Content-Type: text/css; charset=ISO-8859-1');
in css files.
--
View this message in context:
http://www.nabble.com/php-css-and-.htaccess-tf2308435.html#a6418835
Sent from the PHP - General
On 20 Sep 2006, at 16:18 , tedd wrote:
However, FireFox / Mozillia won't accept a css file if a .htaccess
file reads as indicated above.
Any ideas as to how to get FireFox to play nice?
Yep, you need to specify header('Content-Type: text/css')
This is because Mozilla/Firefox is, as far as
12 matches
Mail list logo