I get the following message as I test my website in IE. Line: 202 Char: 1 Error: Invalid character Code: 0 URL: [my site's url] But the line 202 is the following: <li onclick="#">Events</li> Code (markup): There is nothing in here really. Why is IE giving me this error?
Try it using Firefox may give you more details, a lot of times, I have code errors which is very vague in IE or does not appear at all, but is clearly shown in Firefox.
is your looking for error, its not sometimes placed on the line where the error message was, e.g. try looking for some mistakes before Line 202
It's better if you give us a chunk of code between lines 190-210, it's hard for us to help you with that pieces of information. And just like what dvae said, line 202 is not always line 202, maybe IE read it as line 202 but with your text editor with word wrapping on, it's not.
The following is from line 185 to line 207: <body onload="startPage(); startIt();"> <div id="screen"> <div class="emblem" style="position: absolute; height: 70px; width: 130px; z-index: 100;"> <img alt="" src="images/tmz_emblem.gif"> </div> <div class="tmz" style="position: absolute; height: 33px; width: 265px; z-index: 100;"> <img alt="" src="images/tmz.gif"> </div> <div class="navigation" style="position: absolute; width: 140px; z-index: 100;"> <ul id="idList"> <li onclick="movePage('home');">Home</li> <li onclick="movePage('profile');">Profile</li> <li onclick="movePage('bites');">Bites</li> <li><a href="models.html">Models</a></li> <li><a href="calendar.html">Calendar</a></li> <li onclick="#">Events</li> <li onclick="movePage('media');">Media</li> <li onclick="movePage('press');">Press Releases</li> <li onclick="movePage('application');">Online Application</li> </ul> </div> Code (markup): BTW, the site in question is this. Thanks in advance.
http://validator.w3.org/check?uri=h...(detect+automatically)&doctype=Inline&group=0 You can add a meta tag with the charset listed. Then you save your html file in that charset. Lastly, check the charset on the hosting server. They all need to match each other. When you don't set one on anything, the validator went to utf-8. If you set one on the server and a different one in the meta tag, the server will override (and the two won't match up so for some people and machines there will be problems with certain characters).
Interesting ... I guess I kind of understand what you're saying, but I need to spend a little more digesting this information ... Thanks for your help ...