[thelist] Stylesheet not loading in Safari?

Mark Groen evolt at markgroen.com
Mon Feb 12 19:52:25 CST 2007

On Monday 12 February 2007 16:52, bill wrote:
> .......
> > [...] Could there be something else in play here?
> Yes, this...

Sweet, we can make tip out of this...

oops, already there in a few forms but wouldn't hurt to add another type 
attribute as none of them are quite as specific to this particular effect:

<tip type="css loading, parse" author="Georg">
Validate your CSS for parse errors in addition to your html markup, browsers 
may not render your stylesheet at all if they try to parse invalid css 
structure as shown in the IE6 Hack example below:

#content {
        padding: 5px 0 0 10px;
        margin: 0px 30px 0 150px;
        /*/width: 515px; /* for IE6 */*/

The validator reports a Parse Error on that comment, and Safari doesn't
recover from it. There's a whole range of Parse Errors in this particular
stylesheet, but that one is the show-stopper for Safari.

Hope you don't mind me putting your first name in there for the credit Georg.


More information about the thelist mailing list