The Aardvark Speaks : essence, effervescence, obscurity. Established 2002. A weblog by Horst Prillinger. ISSN 1726-5320


November 05, 2005

Help needed

Okay, I give up. Can someone tell me why Safari sometimes refuses to render some of my web pages (like this one, this one or this one) and instead only shows the HTML source code, but if you click the Reload button, everything looks alright again?

As far as I can tell the source code is clean; the pages validate as XHTML 1.0, and Firefox has no problem with them at all, but I have not found any reports of Safari refusing to render web pages anywhere else?

If anybody knows what's wrong here and what I can do to correct this, any help would be much appreciated.

Posted by Horst on November 5, 2005 11:54 PM to the body electric | Tell-a-friend
Trackbacks


Comments
baronesse said on November 6, 2005 12:49 PM:

Something about the doctype-declaration and stuff I think. Couldn't reproduce the error here, though (Safari 1.2.4 on Mac OSX 10.3.9).

The only solution I can offer: copy the xml-, doctype and head-declaration from a similar page that works.

John Keys said on November 6, 2005 06:06 PM:

The pages display fine here (OS X 10.4.3 and Safari 2.0.2 (416.12)). Could it be something to do with your Safari set-up?

Nick said on November 8, 2005 03:14 PM:

One possibility:

If I run the w3c's advanced validator against your page with verbose output turned on, it shows that your page is being served as text/html (which means that browsers are interpreting your pages as html with weird slashes in your <br> elements). XHTML is meant to be served as application/xhtml+xml. However, some browsers, most notably IE, have problems with that mime type. If you have access to your server configuration, there are a number of server-side scripting hacks documented on the web for dealing with cross-browser XHTML portability.

dieter said on November 9, 2005 11:33 PM:

One more thing seems interesting. I have had the same problems as Horst. However, it only happened while I set his site as the starting page of my Safari. Since I switched to "blank", I have been forced to call his page by typing the address - and it has not appeared in source code since then. I guess that Horst also uses his own site as his homepage. So, I think you have to consider this when looking for the causes of this behaviour. Especially since the others could not reproduce it.

Comments have been closed for this entry.


© Copyright 2002-2008 Horst Prillinger, 

Most of the stuff on this page is fiction. Everything else is my private opinion. Please read the disclaimer.

Valid XHTML 1.0! Powered by Movable Type Made with a Mac