[thelist] use the xml declaration or not?

Sarah Sweeney poohbear at designshift.com
Thu Apr 8 10:14:47 CDT 2004


What is the difference between using or not using the xml declaration:
<?xml version="1.0" encoding="UTF-8"?>
I have a site I'm working on that uses it, but I've been told I 
shouldn't use it. But if I try removing it, the layout gets slightly 
messed up in IE. It seems that the widths of some elements are becoming 
wider. Is there an easy way to fix this, or am I better of just leaving 
the xml declaration there now?

Sarah


More information about the thelist mailing list