我有一個頁面,基本上是這樣的:限制加載的內容到一個div
<div id="thelist" style="height:100%; width:100%; position:relative"></div>
<script type="text/javascript">
$('#thelist').load('other.aspx', function() { });
</script>
問題是這樣的:當被加載的內容,它擴展了div的邊界之外,併到周圍的控制。有沒有辦法將這個內容限制在div中,並且讓div滾動來包含所有內容?謝謝。
如果你想在div滾動看看http://www.w3schools.com/cssref/pr_pos_overflow .asp –