Enavigo

Take lemons, make lemonade or Jill and Yuval’s Musings

Enavigo header image 2

You want XHTML, you want XML declaration, forget about IE

December 22nd, 2005 by yuval

So I am creating a vigorously XHTML-Strict compliant layout in template we are providing to a client who is very standards minded. A very good thing, really.
When you validate your XHTML using any of the sites dedicated to that, they all want to know it is an XML file and as such, also would love to know what encoding you are using.
To solve the aforementioned issue, a normal person would add the line:

<?xml version="1.0" encoding="UTF-8"?>

If you do that, a lot of your layout in Internet Explorer 6, will be messed up. Font sizes will be ignored, layout will be ugly, and you will start looking and looking, pulling your hair.

Makes sense, right? No.

At least the beast is aware of it.

Share/Save/Bookmark

Tags: No Comments

Leave A Comment

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.