滚动最后的图像,我有以下HTML的停止在HTML
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
.style1 {
width: 2454px;
}
</style>
</head>
<body>
<table width="5964" border="0" cellspacing="13">
<tr>
<td width="3484"><img src="images/square.jpg" width="850" height="534"/
<img src="images/circle.jpg" width="850" height="534" /></td>
<td class="style1"><img src="images/rectangle.png" width="1134" height="534" /></td>
</tr>
</table>
</body>
当我在IE浏览这个页面的横向滚动条走的更远,比它应该,而我需要它停止在最后的图片rectangle.png
。
我试图改变CSS使列宽设置为自动,但这并没有工作,也是表宽度。我怎样才能解决这个问题?
我不确定你在做什么显式'宽度',但你应该看看宽度的数学。 – swatkins
提示:将'
http://shouldiusetablesforlayout.com – Greg