Re: [PHP] Stylesheets, are they run?
Cool. Thanks to all with the help on stylesheet running. I've gotten a few responses to think about. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Stylesheets, are they run?
Not true, any decently-optimized browser won't fetch a style sheet it doesn't plan to use. Clint Tredway wrote: Your ss.php will still run, but the browser will not render the styles in the page. Clint -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:49 PM To: Liam Gibbs Cc: php list Subject: Re: [PHP] Stylesheets, are they run? Most likely not, but this has to do with the browser and not PHP. Liam Gibbs wrote: Here I go again with the stylesheets. ;) Anyway, if a user has stylesheets turned off, is a stylesheet file even run? Like, if I have them turned off and I have a stylesheet, say, SS.php. Will SS.php run or will it be ignored altogether? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.
RE: [PHP] Stylesheets, are they run?
Your ss.php will still run, but the browser will not render the styles in the page. Clint -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:49 PM To: Liam Gibbs Cc: php list Subject: Re: [PHP] Stylesheets, are they run? Most likely not, but this has to do with the browser and not PHP. Liam Gibbs wrote: >Here I go again with the stylesheets. ;) Anyway, if a user has stylesheets turned off, is a stylesheet file even run? Like, if I have them turned off and I have a stylesheet, say, SS.php. Will SS.php run or will it be ignored altogether? > > > -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- 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
Re: [PHP] Stylesheets, are they run?
Most likely not, but this has to do with the browser and not PHP. Liam Gibbs wrote: Here I go again with the stylesheets. ;) Anyway, if a user has stylesheets turned off, is a stylesheet file even run? Like, if I have them turned off and I have a stylesheet, say, SS.php. Will SS.php run or will it be ignored altogether? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Stylesheets, are they run?
Here I go again with the stylesheets. ;) Anyway, if a user has stylesheets turned off, is a stylesheet file even run? Like, if I have them turned off and I have a stylesheet, say, SS.php. Will SS.php run or will it be ignored altogether?
RE: [PHP] Stylesheets
well, CSS support in netscape 4 is abyssmal to begin with, and it's a 5 year old browser, so i would venture to guess that's why you cant get anything to look the way it should... i never thought i'd see the day when MSIE was more standards compliant and more stable than netscape... (well, at least until netscape 6 is finalized and non-beta code :) > -Original Message- > From: Christian Reiniger [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 17, 2001 06:09 > To: PHP List > Subject: Re: [PHP] Stylesheets > > > On Saturday 17 February 2001 10:26, Michael Hall wrote: > > I'm building a PHP application which uses stylesheets. Stylesheets seem > > to be broken in a big way on my system - using Netscape 4 something on > > Red Hat 6.1. > > Is this Netscape or somehow something to do with PHP? Things work as > > Do you have javascript turned of? Netscape4 only interprets CSS if > javascript is enabled. > > -- > Christian Reiniger > LGDC Webmaster (http://sunsite.dk/lgdc/) > > Drink wet cement. Get stoned. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Stylesheets
On Saturday 17 February 2001 10:26, Michael Hall wrote: > I'm building a PHP application which uses stylesheets. Stylesheets seem > to be broken in a big way on my system - using Netscape 4 something on > Red Hat 6.1. > Is this Netscape or somehow something to do with PHP? Things work as Do you have javascript turned of? Netscape4 only interprets CSS if javascript is enabled. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Drink wet cement. Get stoned. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Stylesheets
here, I loked it up for you, This is a CSS file for PHPBeginner.com - DON'T LOSE IT!!! : CSS file: css.php --- BODY, TH, CENTER, TD, OL, UL, LI, H1, H2, H3, H4 { font-family: verdana, arial, helvetica, sans-serif; } PRE, TT, CODE { font-family: courier, sans-serif; } H1 { font-size: %; } H2 { font-size: %; } H3 { font-size: 115%; } H4 { font-size: 100%; } PRE, TT, CODE { font-size: 10px; } BODY, TH, CENTER, TD, OL, UL { font-size: 12px; } .TopMenu { font-size: 17px; } .L1 { font-size: 13px; } .SubMenu,.L2 { font-size: 11px; } .x { font-size: 5px } .TopMenu,.SubMenu,.L1 { font-weight: 900; } .SubMenu { line-height: px; } .TopMenu { margin-left: 5px; } .SubMenu { margin-left: 12px; } A { color: #7B8FD6;} A:visited { color: #800080;} A:hover { text-decoration: none;} A.TopMenu { text-decoration: none; color: #FF; } A.TopMenu:visited { text-decoration: none; color: #FF; } A.TopMenu:hover { text-decoration: none; color: #FF; } A.SubMenu { text-decoration: none; color: #FF; } A.SubMenu:visited { text-decoration: none; color: #FF; } A.SubMenu:hover { text-decoration: none; color: #FF; } A.L1 { text-decoration: none; color: #7B8FD6; } A.L1:visited { text-decoration: none; color: #7B8FD6; } A.L1:hover { text-decoration: underline; color: #7B8FD6; } A.L2 { text-decoration: none; color: #00; } A.L2:visited { text-decoration: none; color: #00; } A.L2:hover { text-decoration: underline; color: #00; } - This file is far not perfect, it does not yet detect all the browsers, and the styles themselves are to play with. But, it could be a good base for your development. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 8:20 PM To: Michael Hall; PHP List Subject: RE: [PHP] Stylesheets YES! YES! IT'S PHP!!! Michael, PHP just writes for you some text based on certain conditions and the data from db or whatever ... That text can be used for anything like HTML, JavaScript, sending emails or even write a whole C software (with an fopen of course... is that possible? I think it could be) Anyway my point is that the code is the same for you css. Whether Netscape on RH6 reads it or not is not a PHP business... It just sent a code and that is it. Do what: make a function to detect the browser. Define which CSS are the best for each. and then: $css = get_browser(); include("$css.css") Having a whole bunch of different css files, including only the perfect ones. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 6:26 PM To: PHP List Subject: [PHP] Stylesheets I'm building a PHP application which uses stylesheets. Stylesheets seem to be broken in a big way on my system - using Netscape 4 something on Red Hat 6.1. Is this Netscape or somehow something to do with PHP? Things work as they're supposed to viewing the pages on a Windows/IE box. Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Stylesheets
YES! YES! IT'S PHP!!! Michael, PHP just writes for you some text based on certain conditions and the data from db or whatever ... That text can be used for anything like HTML, JavaScript, sending emails or even write a whole C software (with an fopen of course... is that possible? I think it could be) Anyway my point is that the code is the same for you css. Whether Netscape on RH6 reads it or not is not a PHP business... It just sent a code and that is it. Do what: make a function to detect the browser. Define which CSS are the best for each. and then: $css = get_browser(); include("$css.css") Having a whole bunch of different css files, including only the perfect ones. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 6:26 PM To: PHP List Subject: [PHP] Stylesheets I'm building a PHP application which uses stylesheets. Stylesheets seem to be broken in a big way on my system - using Netscape 4 something on Red Hat 6.1. Is this Netscape or somehow something to do with PHP? Things work as they're supposed to viewing the pages on a Windows/IE box. Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Stylesheets
I'm building a PHP application which uses stylesheets. Stylesheets seem to be broken in a big way on my system - using Netscape 4 something on Red Hat 6.1. Is this Netscape or somehow something to do with PHP? Things work as they're supposed to viewing the pages on a Windows/IE box. Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]