I have a newbie question. I'm aware from discussion here that IE may run
in "quirks mode" depending on how the html document is set up. But, it
wasn't until viewing a css tutorial on lynda.com that I saw a specific
way to prevent (most) IE quirks. Author Bill Weinman suggests the
following code at the top of each html document. I've made the change
throughout my site, but I want a second opinion about whether this is
best practice. Thank you.

(I noticed that after I made this change and opened ea page, Dreamweaver
showed an alert that it had added a closing space and forward slash to
many of my tags. Mostly in the head, but also with images and some code
that embeds a Flash object for playing mp3 files. I'm curious as to why
it did that.)

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


- Keith Purtell



______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to