Results 1 to 6 of 6
Thread: DOCTYPE in IE7
Jul 16, 2008, 15:16 #1
- Join Date
- Sep 2003
- 0 Post(s)
- 0 Thread(s)
DOCTYPE in IE7
I am using asp.net 1.1 which outputs the following at the top of its ASPX pages...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
but I have since added the following...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
and since doing this and then refreshing the browser I noticed that the elements repositioned slightly. Is this related to the box model issue? I thought that this was all fixed in IE7.
Or does the fact that I included a namespace in <html> tag do something?
Just confused as to what the main differences are between the two posted above.
Thanks in advance.