View Single Post
11-01-2008, 04:55 PM
#1
paulOr is offline paulOr
paulOr's Avatar
Status: Member
Join date: Oct 2007
Location: Scotland
Expertise:
Software:
 
Posts: 140
iTrader: 2 / 100%
 

paulOr is on a distinguished road

  Old  Force Scrollbar to bottom

Code:
#chat {
	width: 800px;
	height: 400px;
	margin: auto auto auto auto;
	overflow: scroll;
	border: 5px solid #333;
	padding: 10px 10px 30px 10px;
}
when the content gets bigger than the div, a scrollbar becomes visable. I need a way to force the scrollbar to the bottom, so that you (by default) see the bottom of the div first, then have to scroll up, is there such a way to do this?