homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

No <?xml = ie Crash

 10:46 am on Oct 16, 2006 (gmt 0)

I have a really odd problem.
The start of my pages have always been:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

My problem is when I do not add the add <?xml ... I.E. displaies the page incorectly and then crashes!

Does anyone know what <?xml version="1.0" encoding="iso-8859-1"?> Does. and why it crashes my browser when I don't have it?

Thanks loads



 12:57 pm on Oct 16, 2006 (gmt 0)

That line is a xml declaration and cannot be used with IE. IE chokes on it and goes into quirks mode. Only modern browsers handle it properly. However, why IE crashes when you remove it does not make sense.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved