Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-23 Thread J?rgen Wind
tedd wrote: > > At 10:37 AM -0500 9/21/06, David Giragosian wrote: >>On 9/21/06, tedd <[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, >>incl

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-22 Thread Richard Lynch
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 Mu

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-22 Thread Richard Lynch
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 d

Re: [PHP] php/css and .htaccess

2006-09-22 Thread Richard Lynch
On Wed, September 20, 2006 5:18 pm, tedd wrote: > Hi gang: > > I embedded php code inside css and changed my .htaccess to read -- > > > SetHandler application/x-httpd-php > > > -- so that the css file would be processed and executed by php. The > end result was that everything worked and did wh

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread Eric Butera
On 9/21/06, tedd <[EMAIL PROTECTED]> wrote: At 10:37 AM -0500 9/21/06, David Giragosian wrote: >On 9/21/06, tedd <[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 po

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread tedd
At 10:37 AM -0500 9/21/06, David Giragosian wrote: On 9/21/06, tedd <[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-

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread David Giragosian
On 9/21/06, tedd <[EMAIL PROTECTED]> wrote: > tedd wrote: >> I embedded php code inside css and changed my .htaccess to read -- >> >> >> SetHandler application/x-httpd-php >> >> >> -- so that the css file would be processed and executed by php. The end >> result was that everything wor

Re: [PHP] php/css and .htaccess [SOLVED]

2006-09-21 Thread tedd
tedd wrote: I embedded php code inside css and changed my .htaccess to read -- SetHandler application/x-httpd-php -- 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, FireFox / Mozillia won't accept

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Google Kreme
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 I

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Jürgen Wind
Christopher Weldon wrote: > > tedd wrote: >> Hi gang: >> >> I embedded php code inside css and changed my .htaccess to read -- >> >> >> SetHandler application/x-httpd-php >> >> >> -- so that the css file would be processed and executed by php. The end >> result was that everything worked

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Christopher Weldon
tedd wrote: Hi gang: I embedded php code inside css and changed my .htaccess to read -- SetHandler application/x-httpd-php -- 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, FireFox / Mozillia won't ac

[PHP] php/css and .htaccess

2006-09-20 Thread tedd
Hi gang: I embedded php code inside css and changed my .htaccess to read -- SetHandler application/x-httpd-php -- 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, FireFox / Mozillia won't accept a css fi