Welcome to WebmasterWorld Guest from 54.197.171.28

Forum Moderators: incrediBILL

Message Too Old, No Replies

No <?xml = ie Crash

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

5+ Year Member



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)

5+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month