-2

Hi I have this working upper menu section in Chrome/firefox and proper browsers, but its broken in IE 9 in the searchbar/social icon header area.

edits to help crappiness of this post, sorry :(

This is now what the header HTML looks like

<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

http://radiantrfid.com/

Thanks

4

1 回答 1

0

将您的标题更改为

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

并删除前两个空行:doctype 应该在第一个。

这将使 IE 尊重标准并像其他浏览器一样工作。

于 2012-10-14T19:11:32.943 回答