I have an issue where when the page is viewed from IE 9 or 10, there are two doctype tags.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><
However when the page is viewed in IE 7 or 8, there is only one doctype tag:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
Why are there two doctypes IE 9 and 10 while only one is IE 7 and 8.
BTW, this is from the same page and I am using IE compatibility mode.