Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NS7 ignoring style sheet



It may work a bit better if your web server wasn't serving the CSS file as
being HTML:

$ wget http://michael.xpressdocs.com/home/test/test.css
--21:23:35--  http://michael.xpressdocs.com/home/test/test.css
           => `test.css'
Resolving michael.xpressdocs.com... done.
Connecting to michael.xpressdocs.com[68.116.137.10]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>
] 3,965         31.74K/s             

21:23:36 (31.74 KB/s) - `test.css' saved [3965]


> -----Original Message-----
> From: Michael Reilly [mailto:email@hidden] 
> Sent: 13 October 2003 20:38
> To: Apple Web list list
> Cc: Rowland Shaw; ABC; email@hidden
> Subject: Re: NS7 ignoring style sheet
> 
> Ok, I reformatted the code and replaced the _ with - in a copy of the 
> code and stylesheet at this address:
> 
> http://michael.xpressdocs.com/home/test/test.php
> 
> But as you can see, it still doesn't work. Any other ideas?
> 
> Michael
> 
> 
> 
> 
> On Monday, October 13, 2003, at 01:58  PM, Rowland Shaw wrote:
> 
> > The underscore character is not actually in the spec as a valid 
> > character --
> > so it's not a bug -- it's doing the correct thing:
> >
> > http://www.w3.org/TR/REC-CSS2/syndata.html
> >
> >
> >
> >> -----Original Message-----
> >> From: email@hidden
> >> [mailto:email@hidden] On Behalf Of ABC
> >> Sent: 13 October 2003 19:03
> >> To: Michael Reilly; Apple Web list list
> >> Subject: Re: NS7 ignoring style sheet
> >>
> >> Hi
> >>
> >> I found that Netscape doesn't like underscore ("_")
> >> characters in style
> >> names, eg. your "box_contents". Change it to a hyphen
> >> ("box-contents") and
> >> it should work.
> >>
> >> I found this on NS5 ie. pre-Mozilla, but maybe that's still a
> >> problem...
> >>
> >> Phil White
> >>
> >> ----- Original Message -----
> >> From: "Michael Reilly" <email@hidden>
> >> To: "Apple Web list list" <email@hidden>
> >> Sent: Monday, October 13, 2003 5:45 PM
> >> Subject: NS7 ignoring style sheet
> >>
> >>
> >>> I developed this page using CSS:
> >>> http://michael.xpressdocs.com/
> >>>
> >>> It renders fine in IE 5 Mac, Safari 1.0, IE 6 WinXP. It's
> >> close in IE
> >>> 5/5.5 but needs the box hack which I'll add when design is
> >> finalized.
> >>>
> >>> The problem is, in Netscape 7 Mac and Chimera (Navigator)
> >> it displays
> >>> without the stylesheet. I tried adding the @import tag to
> >> see if that
> >>> would work but it did not. I also tried unsuccessfully 
> removing the
> >>> params I pass to the css file (which is parsed by php, but
> >> the problem
> >>> exists even when it is not parsed.)
> >>>
> >>> The thing that fixes it, is to completely remove the 
> DOCTYPE header.
> >>> Removing just the url does not help. Trying 4.01
> >> transitional doesn't
> >>> work, though 3.2 final does work. When the DOCTYPE is removed it
> >>> renders correctly so obviously Netscape understands the code.
> >>>
> >>> The html validates as 4.01 strict and the css validates 
> as well. Any
> >>> thoughts on this?
> >>>
> >>> Michael
> >>> _______________________________________________
> >>> web-development mailing list | email@hidden
> >>> Help/Unsubscribe/Archives:
> >> http://www.lists.apple.com/mailman/listinfo/web-development
> >>> Do not post admin requests to the list. They will be ignored.
> >> _______________________________________________
> >> web-development mailing list | email@hidden
> >> Help/Unsubscribe/Archives:
> >> http://www.lists.apple.com/mailman/listinfo/web-development
> >> Do not post admin requests to the list. They will be ignored.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NS7 ignoring style sheet (From: Michael Reilly <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.