Alright, I’m in desperate need of help, as I have absolutely no idea why this is happening- I just recently finished a website that lets you quickly search for cover art for albums:
http://www.labusdesign.com/5byfive/
Everything works perfectly in Safari 4 (on Mac). However, the site does not work in ANY other browser! I’ve tried viewing it (on multiple machines) in Firefox 3, Internet Explorer 7, and Internet Explorer 8, and nothing on the page appears- just a blank white page (not even the page background color is set). No errors reported whatsoever, all code is fully valid, and if I right click and view the source of the page, it’s all perfect- but not a single thing shows up in the window.
Anybody have any ideas?
- Attended a Community Meetup
- Author had a Free File of the Month
- Author was Featured
- Blog Editor
- Bought between 50 and 99 items
- Contributed a Tutorial to a Tuts+ Site
- Envato Staff
- Exclusive Author
- Featured in a Magazine
Is it because of this line…possibly?
javscript:searchComplete();
(missing “a”)
Firebug says: “Failed to load source for: http://www.google.com/jsapi” That might have something to do with it?
Same as Pandemic, Firebug says
Failed to load source for: http://www.google.com/jsapi
You can’t “self-close” script tags. Change them to this:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script src="javascript/jquery.js" type="text/javascript"></script>
<script src="javascript/javascript.js" type="text/javascript"></script>
That should fix it…
+ you have your CSS styles in a <!- ->.
+ you have your CSS styles in a <!- ->.
Funny, I noticed that too, but for some reason the page appears styled in Safari. Plain weird.
Alright, not sure which one of those errors caused the problem, but I fixed them all, and it works like a charm now!
I really appreciate the help guys, thanks!
P.S. Any thoughts, comments, suggestions on the site, feel free to share! 
It would have been the script thing that caused the problem… I’m pretty certain.
There is nothing wrong with putting comment tokens around your inline CSS . In fact, they’re useful for hiding styles from older browsers. The W3C even says so:
“CSS style sheets are often embedded in HTML documents, and to be able to hide style sheets from older UAs, it is convenient put the style sheets inside HTML comments. The HTML comment tokens ”<!-” and “->” may occur before, after, and in between the statements”
