Re: [WSG] Odd behaviour in Opera and Safari

2007-04-09 Thread Bruce Martin

Rachel May wrote:

http://skylight.web1.heliocell.com/professionals--community- 
groups.aspx

odd behaviour in Opera and Safari - the page headings are
going small after the page is loading.


In Firefox with web dev extension, Edit CSS shows niftyCorners.css is  
not found.
The 404 error page that it shows for that stylesheet has a H2 style  
{ font: 8pt/12pt verdana }


Bruce



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Odd behaviour in Opera and Safari

2007-04-09 Thread Philippe Wittenbergh


On Apr 10, 2007, at 11:05 AM, Rachel May wrote:


This site
http://skylight.web1.heliocell.com/professionals--community- 
groups.aspx
(please note still in testing, so e-commerce transactions won't go  
through,
etc.) is having odd behaviour in Opera and Safari - the page  
headings are
going small after the page is loading. This is causing the search  
box to

overlap the navigation (the logo is in an H1 tag).

Also in Opera, the links are going red.

That happens more often when one of the required css files is not found.
In your case, you are linking to
'http://skylight.web1.heliocell.com/niftyCorners.css' (from within  
your script[1]),

but that file returns a 404not found.

The IIS 404 file has some css into it, although its content type is  
text/html
Opera and Safari interpret the file nonetheless and apply the  
stylerules in that 404 page to the real html page, hence: red links  
and smaller type on your heading and who knows what more.
Yes it is a bug in those UA. That is what you get when a UA accept  
whatever content-type one throws at it and try to interpret it.

Gecko based browsers simply ignore that missing file completely.

[1] function AddCss() in script.js
Philippe
---
Philippe Wittenbergh
http://emps.l-c-n.com





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Odd behaviour in Opera and Safari

2007-04-09 Thread Rachel May
Thanks Bruce you're an angel!! :D

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bruce Martin
Sent: Tuesday, 10 April 2007 2:44 p.m.
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Odd behaviour in Opera and Safari

Rachel May wrote:

 http://skylight.web1.heliocell.com/professionals--community- 
 groups.aspx
 odd behaviour in Opera and Safari - the page headings are
 going small after the page is loading.

In Firefox with web dev extension, Edit CSS shows niftyCorners.css is  
not found.
The 404 error page that it shows for that stylesheet has a H2 style  
{ font: 8pt/12pt verdana }

Bruce



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Odd behaviour in Opera and Safari

2007-04-09 Thread Rachel May
Thanks heaps Philippe, that's a very good explanation!  Such a relief - I
was so confused!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Philippe Wittenbergh
Sent: Tuesday, 10 April 2007 2:51 p.m.
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Odd behaviour in Opera and Safari


On Apr 10, 2007, at 11:05 AM, Rachel May wrote:

 This site
 http://skylight.web1.heliocell.com/professionals--community- 
 groups.aspx
 (please note still in testing, so e-commerce transactions won't go  
 through,
 etc.) is having odd behaviour in Opera and Safari - the page  
 headings are
 going small after the page is loading. This is causing the search  
 box to
 overlap the navigation (the logo is in an H1 tag).

 Also in Opera, the links are going red.
That happens more often when one of the required css files is not found.
In your case, you are linking to
'http://skylight.web1.heliocell.com/niftyCorners.css' (from within  
your script[1]),
but that file returns a 404not found.

The IIS 404 file has some css into it, although its content type is  
text/html
Opera and Safari interpret the file nonetheless and apply the  
stylerules in that 404 page to the real html page, hence: red links  
and smaller type on your heading and who knows what more.
Yes it is a bug in those UA. That is what you get when a UA accept  
whatever content-type one throws at it and try to interpret it.
Gecko based browsers simply ignore that missing file completely.

[1] function AddCss() in script.js
Philippe
---
Philippe Wittenbergh
http://emps.l-c-n.com





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***