The question explains it pretty fully, but here's some more detail:
- I have a
div
with a fixed height. - Content is dynamically loaded via Ajax and appended to the
div
.
Added content is always positioned at the bottom of the div
.
2 pieces of content (no scrolling yet)
-------------------------div--
| |
| |
| |
| |
| some content (10:00 am) |
| |
| some content (10:03 am) |
------------------------------
Additional content pushes existing content up until the div
starts to scroll in the y-direction.
5 pieces of content (1 item scrolled)
-------------------------div--
| some content (10:03 am) ^|
| |
| some content (10:04 am) #|
| #|
| some content (10:07 am) #|
| #|
| some content (10:09 am) v|
------------------------------
Can this be done with CSS?
EDIT
Must work in Internet Explorer!