- 爱易网页
-
Java教程
- 请问大侠这段html+css代码为什么在ie和firefox中显示不一致?谢谢谢谢!
日期:2014-05-18 浏览次数:20797 次
请教大侠这段html+css代码为什么在ie和firefox中显示不一致?多谢多谢!!!
不好意思稍微有点长,感激不尽
index.html:
<?xml version= "1.0 " encoding= "utf8 "?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN "
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml " xml:lang= "ja ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=utf-8 " />
<title> ZQwoo with XHTML+CSS </title>
<link rel= "stylesheet " type= "text/css " href= "index.css " />
</head>
<body>
<div style= "text-align : center; ">
<div id= "space_all ">
<div id= "space_logo ">
<div id= "space_logo_left "> </div>
<div id= "space_logo_center "> <img src= "images/zqwoo/index/banner.jpg " alt= "mmmmmmmmmmmm " /> </div>
<div id= "space_logo_right ">
<br />
ID: <input type= "text " name= "yourID " value= "ID " /> <br />
Password: <input type= "password " name= "yourPW " /> <br />
<a href = "# "> new member </a> │ <a href = "# "> Login </a> <br />
<a href = "# "> forget password </a>
</div>
</div>
<div id= "space_menu ">
<ul>
<li> <a href = "# "> <img src= "images/zqwoo/index/bt_1.jpg " width= "120 " height= "30 " alt= "aaa " /> </a> </li>
<li> <a href = "# "> <img src= "images/zqwoo/index/bt_2.jpg " width= "120 " height= "30 " alt= "bbb " /> </a> </li>
<li> <a href = "# "> <img src= "images/zqwoo/index/bt_3.jpg " width= "120 " height= "30 " alt= "ccc " /> </a> </li>
<li> <a href = "# "> <img src= "images/zqwoo/index/bt_4.jpg " width= "120 " height= "30 " alt= "ddd " /> </a> </li>
<li> <a href = "# "> <img src= "images/zqwoo/index/bt_5.jpg " width= "120 " height= "30 " alt= "eee " /> </a> </li>
<li> <a href = "# "> <img src= "images/zqwoo/index/bt_6.jpg " width= "120 " height= "30 " alt= "fff " /> </a> </li>
</ul>
</div>