滾動最後的圖像,我有以下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