PDA

View Full Version : Beta site won't fully load in IE7 RC1-background only?


intuna
09-12-2006, 06:08 AM
My beta site which renders fine in FF, Netscape, AOL, and even Opera, and OK in IE6, won't load fully in IE7RC1. I see the background image, but that's it. Can't even get past the <body> tag, I'm thinking, in my style sheet.

I am using this code...

<!--[if lte IE 6]>
<style type="text/css" media="screen, tv, projection">
@import "behavior/csshover.css";
body { behavior: url("behavior/csshover.htc"); }
</style>
<![endif] -->

...in my <head> on every page so IE6 and earlier will show hovering on a link. I think IE7 should ignore this?

My pages validate as xhtml transitional.
Is IE7 picky about the doctype?
Maybe something in the .css it can't handle?
If it would help, I'll post all of the .css.

Any ideas about what might be happening?

The beta site is at:
http://members.cox.net/david.silva

_Aerospace_Eng_
09-12-2006, 07:37 AM
It should ignore it if it was correct. You have a space just before the --> in the endif. Remove that space and it should work fine.

intuna
09-12-2006, 02:18 PM
Incredibly enough, the extra space before the closing .html comment tag causes the page not to render in IE7. Looks as though IE7 pays much closer attention to standards it should be following.

This code was copied from many of the sites posting this code.
Obviously, the extra space doesn't bother IE6. And if it doesn't act broken, I can't fix it, 'cause it's not broken, right? :rolleyes:

Thank you, thank you, thank you AE.
You rock!