Forum Moderators: open

Message Too Old, No Replies

Page load in FF2 but not in IE7.?

Page blank in IE7.

         

ianlyy

10:49 pm on Apr 18, 2007 (gmt 0)

10+ Year Member



I had checked the topic below before i posted this topic..

[webmasterworld.com...]

I having the same problems as havoc but alittle diferent is i do not uses any script..

I ran the test at W3 Validator, it has 7 errors.., how can it loads in FF2 if there are so many errors?

Also, the page loads well in IE offline or local pc.., i wonder whats the problem when loading the page online then..

Here is the screen cap of the errors that i have not idea how to fix.. : <removed>

Thanks for any help..

Ian

[edited by: encyclo at 12:21 am (utc) on April 19, 2007]
[edit reason] no screenshots please, see forum charter [/edit]

encyclo

12:27 am on Apr 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld ianlyy. Are you saying that your page doesn't load at all in IE7? Do you get a blank page or does it display with layout errors?

Also, what doctype are you using, and what validation errors do you get?

Dabrowski

12:31 am on Apr 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds like a missing </script> or </style> tag in your <head>. FF is probably clever enough to do it anyway but I don't think IE is.

ianlyy

3:25 pm on Apr 19, 2007 (gmt 0)

10+ Year Member



Thanks for the welcome, and sorry bout the screenshot, admin, i thought visual is better for explanation as my English isn't that good though...

I was having problem with my index.html, it loads fine locally in IE and FF2.. but, when i type the url on the browser, my IE came blank with no messages..

But then strange thing happened justnow, i tried again and this time the index page successfully loads in IE, i wonder why..

BUt the 7 erros are occurs from the validator. I actually modify the template page that i got from the net.., i wonder if thats causes errors..

Below are the results of checking this document for XML well-formedness and validity.

This page is not Valid XHTML 1.1!

Error Line 4 column 72:

end tag for "meta" omitted, but OMITTAG NO was specified.

...ype" content="text/html; charset=iso-8859-1">

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Info Line 4 column 0: start tag was here.

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

Error Line 5 column 70:

end tag for "meta" omitted, but OMITTAG NO was specified.
..." content="Your website description goes here">&#9993;

Info Line 5 column 0: start tag was here.

<meta name="description" content="Your website description goes here">

Error Line 6 column 56: end tag for "meta" omitted, but OMITTAG NO was specified.

<meta name="keywords" content="your,keywords,goes,here">&#9993;

Info Line 6 column 0: start tag was here.

<meta name="keywords"
content="your,keywords,goes,here">

Error Line 7 column 66:

end tag for "link" omitted, but OMITTAG NO was specified.
...esheet" type="text/css" href="andreas08.css"></head>&#9993;

Info Line 7 column 0: start tag was here.

<link rel="stylesheet" type="text/css" href="andreas08.css"></head>

Error Line 9 column 108: end tag for "img" omitted, but OMITTAG NO was specified.

...200px;" alt="" src="header.jpg"></div><div id="navigation">

Info Line 9 column 37: start tag was here.

<div id="container"><div id="header"><img style="width: 757px; height: 200px;" a

Error Line 42 column 113:

end tag for "input" omitted, but OMITTAG NO was specified.

...="s" alt="not functional, demo only"><input value="Go!" id="searchbutton" nam

Info Line 42 column 40: start tag was here.

<form action="#" method="get"><fieldset><input value="demo only" name="s" id="s"Error Line 42 column 194:

end tag for "input" omitted, but OMITTAG NO was specified.
...earchbutton" type="submit"></fieldset></form>

Info Line 42 column 113: start tag was here.

...="s" alt="not functional, demo only"><input value="Go!" id="searchbutton"

I wonder if i can just ignore the errors, if don't, i will be grateful if anyone here could help on fixing the errors..

Also, am i allow to post my site url here for easier references..?

Thanks..

MamaDawg

8:51 pm on Apr 19, 2007 (gmt 0)

10+ Year Member



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

In xhtml all meta, img, link and br tags (to name a few) need to end with "/>" instead of just ">".

For example <img src="myimage.gif" alt="my image" />

That appears to account for the errors you posted.

ianlyy

1:51 pm on Apr 25, 2007 (gmt 0)

10+ Year Member



I see..., but does that mean my index page should be .xml instead..? What if i wish to keep it as normal .html extension? How should i change it in the code then..? Will it run without errors..?

Too much questions, sorry, i am kind poor in this..

Thanks again..

ianlyy

12:26 pm on Apr 27, 2007 (gmt 0)

10+ Year Member



Sorry for double posting, it won't allow to update my above post..

I had fixed the errors using W3 HTML tidy.., no more errors for validation..

Thanks again for the help..