Reputation: 3029
My website doesn't seem to display any element or content when viewed on IE even though source code is viewable, but on firefox and chrome it loads fine. What is up???
I don't remember ever trying to load my website with IE, so i can't confirm if it ever has worked with IE. Please help me debug =/. WADAFA!??! Thanks for your help
Upvotes: 2
Views: 5381
Reputation: 61597
You need to add a ? to the XML tag.
<xml version="1.0">
<!DOCTYPE html .....>
into
<?xml version="1.0">
<!DOCTYPE html ...>
But you do want to validate your site: http://validator.w3.org/
Upvotes: 2
Reputation: 994927
This usually happens to me when I accidentally close a <script>
tag in an XML way:
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js" />
The following does work for IE:
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js">
</script>
This doesn't appear to be what you've done, but I wanted to add this answer anyway because it's a common reason for this problem to appear.
Upvotes: 2
Reputation: 578
I think your xml prolog syntax might be causing this.
I believe it should be like so:
<?xml version="1.0" encoding="iso-8859-1"?>
see: http://www.quirksmode.org/css/quirksmode.html
Upvotes: 1
Reputation: 573
Your website is probably confusing the buggery out of IE - the HTML validator found many errors. Click here.
Start by ensuring your document is valid XHTML (since that's what you're declaring in your doctype). Then we'll go from there.
Upvotes: 6