<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
.float { float: right; height: 40px; width: 40px; } | |
.test { height: 200px; background-color: aliceblue } | |
</style> | |
</head> | |
<body> | |
<div id="scroller" style="overflow: hidden; height: 40px"> | |
<div class="test"></div> | |
</div> | |
<script>scroller.scrollTop = 60;</script> | |
</body> | |
</html> |