考慮這個頁面:http://losthobbit.net/temp/docking.html我可以在IE 8中將div與其他div對接嗎?
這裏的HTML:
<html>
<head>
<title></title>
</head>
<body>
<div style="position: absolute; bottom: 0; right: 0; top: 0; width: 259; background-color: #00FF00">
<input type="button" style="position: absolute; left: 161; top: 30; width: 75; height: 25"/>
</div>
<div style="position: absolute; bottom: 0; right: 259; left: 0; height: 100; background-color: #00FFFF">
<input type="button" style="position: absolute; right: 10; top: 30; width: 75; height: 25"/>
</div>
</body>
</html>
在Chrome中&火狐這完美的作品。第二個div與第一個div對接。
是否有可能在IE8中工作?
謝謝你在前進,精彩的人:)
正如您上次提到的有關此代碼的問題所述:*修復機器可檢測到的錯誤*! [HTML](http://validator.w3.org/)和[CSS](http://jigsaw.w3.org/css-validator/) – Quentin 2011-06-02 12:46:14
存在問題。對不起,由於某種原因,我沒有沒有看到你的評論。謝謝你的幫助。 – 2011-06-02 13:10:14