margin: 0px auto;
并且设定body的宽度, 宽度大小略大于 内容图片即可
<body style="width:1035px; margin: 0px auto;"
background="${pageContext.request.contextPath}/images/backgroup.jpg">
<div style="position: absolute;">
<img src="${pageContext.request.contextPath}/images/index.jpg" width="1020" height="1276" border="0" usemap="#Map" />
<table border="0" style="position: absolute; top: 1%; left:80%">
<tr>
<td> <font size="4"><b>浏览人数</b></font> </td>
<td> <input type="text" size="5" id="people" name="people" maxlength="10" readonly="readonly" /> </td>
</tr>
</table>
</div>
<map name="Map">
<area shape="rect" coords="35,212,218,271" href="${pageContext.request.contextPath}/index.jsp?param=1"/>
<area shape="rect" coords="253,213,432,270" href="${pageContext.request.contextPath}/index.jsp?param=2"/>
<area shape="rect" coords="461,212,695,269" href="${pageContext.request.contextPath}/index.jsp?param=3"/>
</map>
</body>