[PHP] CSS Switching

2006-01-09 Thread Mike Tuller
I am drawing a blank on how to go about doing this for some reason. I have a page that pulls info from a database, and I want to have a version for viewing, and a version fro printing. Since the data is dynamic, I need to keep the data, but be able to switch the stylesheet. Can someone

RE: [PHP] CSS Switching

2006-01-09 Thread Jay Blanchard
[snip] I am drawing a blank on how to go about doing this for some reason. I have a page that pulls info from a database, and I want to have a version for viewing, and a version fro printing. Since the data is dynamic, I need to keep the data, but be able to switch the stylesheet. Can

Re: [PHP] CSS Switching

2006-01-09 Thread Lists
http://www.alistapart.com/articles/phpswitch/ or http://www.alistapart.com/articles/alternate/ maybees -dg On Jan 9, 2006, at 10:58 AM, Mike Tuller wrote: I am drawing a blank on how to go about doing this for some reason. I have a page that pulls info from a database, and I want to have a

Re: [PHP] CSS Switching

2006-01-09 Thread John Nichel
Mike Tuller wrote: I am drawing a blank on how to go about doing this for some reason. I have a page that pulls info from a database, and I want to have a version for viewing, and a version fro printing. Since the data is dynamic, I need to keep the data, but be able to switch the

RE: [PHP] CSS Switching

2006-01-09 Thread Jay Paulson \(CE CEN\)
Why don't you make a prit.php file that handles all the dynamic content and displays it with the CSS file you want. jay -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Mon 1/9/2006 11:58 AM To: php list Subject: [PHP] CSS Switching I am drawing a blank on how

RE: [PHP] CSS Switching

2006-01-09 Thread Jay Blanchard
[snip] Why don't you make a prit.php file that handles all the dynamic content and displays it with the CSS file you want. [/snip] Using a print stylesheet prevents a round trip to the server for the data. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] CSS Switching

2006-01-09 Thread Mike Tuller
Because I wasn't sure the best way to pass the information to a separate page. What John has is different than the direction I was thinking, but will work. On Jan 9, 2006, at 12:17 PM, Jay Blanchard wrote: [snip] Why don't you make a prit.php file that handles all the dynamic content

Re: [PHP] CSS Switching

2006-01-09 Thread Mike Tuller
Thanks. This is perfect. On Jan 9, 2006, at 12:07 PM, John Nichel wrote: Mike Tuller wrote: I am drawing a blank on how to go about doing this for some reason. I have a page that pulls info from a database, and I want to have a version for viewing, and a version fro printing. Since

RE: [PHP] CSS Switching

2006-01-09 Thread Jay Blanchard
[snip] Because I wasn't sure the best way to pass the information to a separate page. What John has is different than the direction I was thinking, but will work. [/snip] A print stylesheet requires no IF statement. When you print it, it prints according to the print stylesheet. -- PHP

Re: [PHP] CSS Switching

2006-01-09 Thread John Nichel
Jay Blanchard wrote: [snip] Because I wasn't sure the best way to pass the information to a separate page. What John has is different than the direction I was thinking, but will work. [/snip] A print stylesheet requires no IF statement. When you print it, it prints according to the print

RE: [PHP] CSS Switching

2006-01-09 Thread Jay Blanchard
[snip] Ah, but then it would be a CSS question, and not a PHP one. ;) [/snip] Touche'! But then we wouldn't be kinder and gentler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSS Switching

2006-01-09 Thread John Nichel
Jay Blanchard wrote: [snip] Ah, but then it would be a CSS question, and not a PHP one. ;) [/snip] Touche'! But then we wouldn't be kinder and gentler We'd have an excuse...it is Monday afterall. OP : A print css sheet would save you another trip to the server. -- John C. Nichel IV

Re: [PHP] CSS Switching

2006-01-09 Thread tedd
I am drawing a blank on how to go about doing this for some reason. I have a page that pulls info from a database, and I want to have a version for viewing, and a version fro printing. Since the data is dynamic, I need to keep the data, but be able to switch the stylesheet. Can someone give me

Re: [PHP] CSS Switching

2006-01-09 Thread Mike Tuller
Yes, I think we all deserve at least one Mulligan on Mondays. On Jan 9, 2006, at 1:43 PM, John Nichel wrote: Jay Blanchard wrote: [snip] Ah, but then it would be a CSS question, and not a PHP one. ;) [/snip] Touche'! But then we wouldn't be kinder and gentler We'd have an excuse...it