+ 5
CSS overflow scroll and auto
what is the difference between overflow: scroll and overflow: auto?
9 Answers
+ 12
The first one force the browser to scroll.
The second one do it automatically if it needed.
https://code.sololearn.com/WI2WU3Zs7m3E/?ref=app
+ 9
4rontender, maybe i misunderstood, i am not a great chess player, please for any further explanation comment this (temporary) code:
https://code.sololearn.com/WzdHK64mmpDs/?ref=app
+ 7
I am working on it. :P
+ 4
overflow:auto is added and only shown when the amount of content overflows a <div> box for example.
overflow:scroll, in short terms, will always give a scrollbar no matter what the amount of content is.
edit: basically @Maz's answer. :P !
+ 3
@Maz can you help me a little?
+ 2
ayyyyyyyyyyyy!!!!!🙂🙂🙂 you forgot me?
+ 2
sorry😳😳😳
+ 1
@Maz
LOOK, PLEASE, IN MY SANDBOXIE
(fname --> "chess problem")
https://code.sololearn.com/WwoKggKTbf16/#js
0
Ok