<html>
<head>
<title>Title</title>
<style>
.bannerbox {
100%;
position:relative;
overflow:hidden;
height:500px;
}
.banner {
1920px; /*图片宽度*/
position:absolute;
left:50%;
margin-left:-960px; /*图片宽度的一半*/
}
</style>
</head>
<body>
<div class="bannerbox">
<div class="banner">
<img src="t1.jpg">
</div>
</div>
</body>
</html>