• I need to convert an existing site to WP and the first line is causing an error.

    <?xml version=”1.0″ encoding=”iso-8859-1″?>

    I’m no PHP whiz. Obviously, removing this, causes IE6 to blow up. How do I convert this so PHP will accept it?

    TIA.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Removing that line should not impact on IE6. In fact, you’re far better off without it. Are you using a full DOCTYPE?

    Thread Starter frantichomecook

    (@frantichomecook)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">

    This is what I have. But this alone in the header.php gives me a parse error on 1. I’m don’t know PHP. I’m sure it’s something obvious.

    Thx.

    There’s nothing wrong with your DOCTYPE but you need a bit more than that in your header.php file. Have a look at the default theme’s header.php.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘XML and IE6 Quirks’ is closed to new replies.