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 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

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 -- 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

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

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

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 -- 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.

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 -- 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

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 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-

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 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

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 -- 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

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 -- 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

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

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread tedd
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Paul: I am sure that you can change css via javascript, but you can as well with php -- see:

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul You don't need to change the CSS (I don't even know if it is possible), but you can change specific styles of any element within the

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread tedd
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Satyam said: You don't need to change the CSS (I don't even know if it is possible), but you can change specific styles of any element

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
- Original Message - From: tedd [EMAIL PROTECTED] Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Satyam said: You don't need to change the CSS (I don't even know if it is

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Anas Mughal
JF on March 11th answered it appropriately. Please take this topic off this group. Thanks. On 3/12/06, Satyam [EMAIL PROTECTED] wrote: - Original Message - From: tedd [EMAIL PROTECTED] Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread tedd
Yes, it's just a text file -- it can be re-written. However, it needs to be loaded again to take affect. And it affects all documents of all users. Suddenly, by the action of one user, all other users reaching the same page will see things as per the actions of another user. Unless you

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
- Original Message - From: tedd [EMAIL PROTECTED] Yes, it's just a text file -- it can be re-written. However, it needs to be loaded again to take affect. And it affects all documents of all users. Suddenly, by the action of one user, all other users reaching the same page will

Re: [PHP] PHP/CSS/Javascript question

2006-03-11 Thread Jesús Fernández
On 3/11/06, Paul Goepfert [EMAIL PROTECTED] wrote: Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP?

RE: [PHP] PHP CSS

2003-10-06 Thread Chris Hubbard
Raquel, this is an HTML question, not PHP. And here's the answer: The following goes in the head section of your html: link href=path/to/style.css rel=stylesheet type=text/css -Original Message- From: Raquel Rice [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 10:13 AM To:

Re: [PHP] PHP CSS

2003-10-06 Thread David Otton
On Mon, 6 Oct 2003 11:13:04 -0700, you wrote: I'm currently building a dynamic site which draws page configuration variables from config (ini) files. To use those variables from the ini files, I write the style sheet in the header of each page. Here's my problem. I want to link to a style

RE: [PHP] PHP CSS

2003-10-06 Thread Jay Blanchard
[snip] This is a question as to how I would apply variables from an ini file to the file called in the manner you so nicely explained to me. [/snip] Using fopen() you would then write the variables to the CSS file. As long as you fclose the CSS file before you get to the link rel in the HTML