Ask coding questions

← Back to all posts
Scroll inside of a div element?
EthanBlesch (8)

I want to be able to have the user scroll up and see past input in my text based game, and changing overflow-y and overflow to scroll doesn't seem to work, any suggestions?

Comments
hotnewtop
Coder100 (18123)

You can't really scroll up if there is no content...

So don't forget to add an element to actually make some space.