<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
#fu
{
margin:0 auto;
width:700px;height:800px;
background:url(img/bg444.png) no-repeat;}#zi
{
margin-left:-150px;}
-->
</style>
</head><body>
<div id="fu">
<div id="zi">
<img src="img/hand.png" width="400" height="643"/></div></div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
#fu
{
margin:0 auto;
width:700px;height:800px;
background:url(img/bg444.png) no-repeat;}#zi
{
margin-left:-150px;}
-->
</style>
</head><body>
<div id="fu">
<div id="zi">
<img src="img/hand.png" width="400" height="643"/></div></div>
</body>
</html>
margin-left:-75px;
使用ie8预览没发现哪里显示正常。
楼主具体问题发图上来看吧。
#zi的样式加上float:left;position: relative我好像在ajax也看到了。
{
margin:0 auto;
width:700px;
height:800px;
background:url(img/bg444.png) no-repeat;
position:relative;
}#zi
{
margin-left:-150px;position:absolute;
}