I'd like some clarification on how <!DOCTYPE> and legacy modes affect the look of a web page in versions of IE.
I work with many people so I am not in total control of how pages are coded. But I would like to know enough to bring up a discussion amongst my fellow workers so we can be consistent and present the best page possible. So I have a number of questions. Right now we use a tag on our pages that tells the page to render in IE7: <meta http-equiv="X-UA-Compatible" content="IE=7">. In working on a new splash page all looked good in Firefox, Chrome, Safari but there were some strange things going on when I looked at it in IE8. I see that when I change the meta tag to display the page in IE8 instead of IE7 most of those issues go away. So with that in mind: If we change the meta tag to display in IE8 instead of IE7 what will people who are using IE7 see (what mode will our page be displayed in)? We no longer are supporting IE6 and below. Depending on the answer to this question, perhaps we should stop developing for IE7 as well. What's your opinion? Our doctype at the moment is: <!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"> If we changed this to: <!DOCTYPE html> <html> How would this affect what IE7 and IE8 render our pages? I'm trying to understand if there is any reason we shouldn't start stipulating an HTML5 doctype and if forcing to render our pages in IE8 (and perhaps IE9 as well) would adversely affect those viewing our pages in IE7. Thanks. Jeff ______________________________________________________________________ css-discuss [css-d@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/