Ask coding questions

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

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?

Voters
EthanBlesch
Comments
hotnewtop
Coder100

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

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