<div id="aaa">sdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdfsdfas fasdfa asdf </div>
#aaa {
height: 100px;
width: 200px;
overflow: scroll;
}
$("#aaa").scrollTop = $("#aaa").scrollHeight;
http://jsfiddle.net/PfA7Q/2/滾動到DIV下來(在Firefox和IE瀏覽器!)
有可能在這個DIV在Firefox和IE中做滾動下來?
從技術上講,這不是一個文本區域的div。 – scunliffe 2011-12-20 14:47:15
我更新了我的問題 – 2011-12-20 14:51:32