Re: [css-d] Opera - no css

2007-11-13 Thread Colin Mcgarry
Susanne Jäger wrote: > Colin Mcgarry wrote, On 10.11.2007 17:28: > > >> The reason for browser searching is to accommodate browser quirks in the >> CSS. >> > > Well user agent sniffing is IMHO (one of) the most fragile method(s) of > doing that. You will never target all "good browsers"

Re: [css-d] Opera - no css

2007-11-12 Thread david
Going to http://www.cpmac.com/indexcss.php with FF 2.0.0.8 for Linux also gives me a blank page. When I went to the site itself, I find this in the lower left column: You are using Opera You are using Internet Explorer You are using Firefox You are using Mozilla You are using Netscape You a

Re: [css-d] Opera - no css

2007-11-12 Thread david
And Firefox 2.0.0.8 on Linux still sees no styles whatsoever, nor does it see any content in indexcss.php. Colin Mcgarry wrote: > It was a problem in the php. As "Opera" is position 0 in > $_SERVER['HTTP_USER_AGENT'] the script wasn't putting OPERA the browser. > I'm still not sure why. > I'v

Re: [css-d] Opera - no css

2007-11-12 Thread Susanne Jäger
Colin Mcgarry wrote, On 10.11.2007 17:28: > The reason for browser searching is to accommodate browser quirks in the > CSS. Well user agent sniffing is IMHO (one of) the most fragile method(s) of doing that. You will never target all "good browsers" properly - at the moment for example I don't s

Re: [css-d] Opera - no css

2007-11-12 Thread Colin Mcgarry
It was a problem in the php. As "Opera" is position 0 in $_SERVER['HTTP_USER_AGENT'] the script wasn't putting OPERA the browser. I'm still not sure why. I've put in if (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== false) to get round the problem. The reason for browser searching is to a

Re: [css-d] Opera - no css

2007-11-12 Thread David Hucklesby
On Sat, 10 Nov 2007 15:14:52 +0100, Colin Mcgarry wrote: > Thanks for the replies. > The page now validates. Most of the problems came from imported scripts. > > Firefox and IE7 see indexcss.php as a css file. Opera sees it as a blank > page. > Colin, What version of Opera are you using? Opera 9

Re: [css-d] Opera - no css

2007-11-12 Thread Colin Mcgarry
David Hucklesby wrote: > On Sat, 10 Nov 2007 15:14:52 +0100, Colin Mcgarry wrote: > >> Thanks for the replies. >> The page now validates. Most of the problems came from imported scripts. >> >> Firefox and IE7 see indexcss.php as a css file. Opera sees it as a blank >> page. >> >> > > Co

Re: [css-d] Opera - no css

2007-11-10 Thread Colin Mcgarry
Thanks for the replies. The page now validates. Most of the problems came from imported scripts. Firefox and IE7 see indexcss.php as a css file. Opera sees it as a blank page. David Hucklesby wrote: > On Fri, 09 Nov 2007 21:11:36 +0100, Colin Mcgarry wrote: > >> I've just set up Opera to see

Re: [css-d] Opera - no css

2007-11-09 Thread David Hucklesby
On Fri, 09 Nov 2007 21:11:36 +0100, Colin Mcgarry wrote: > I've just set up Opera to see how it deals with my web pages. I was > surprised to see > my home page has no css with Opera. > the page is http://www.cpmac.comand the css is a php file that begins > [...] Oh, and another thing. The

Re: [css-d] Opera - no css

2007-11-09 Thread David Hucklesby
On Fri, 09 Nov 2007 21:11:36 +0100, Colin Mcgarry wrote: > I've just set up Opera to see how it deals with my web pages. I was > surprised to see > my home page has no css with Opera. > the page is http://www.cpmac.comand the css is a php file that begins > [code snipped] Hmm. I certainly s

Re: [css-d] Opera - no css

2007-11-09 Thread Rafael
It seems to me that you're asking us to debug your code. If you're using PHP I assume you're a programmer , therefore you understand where the problems more certainly lies (if you're not, then ask the guy who did the script, you shouldn't mess with it) ---not everyone of us is meant to be a

[css-d] Opera - no css

2007-11-09 Thread Colin Mcgarry
I've just set up Opera to see how it deals with my web pages. I was surprised to see my home page has no css with Opera. the page is http://www.cpmac.comand the css is a php file that begins = 5) { ?> /* BEGIN CSS RENDERING */ followed by css styles Firefox and even IE7 treat it