+ 3

I don't understand the diferent between auto and scroll

18th Feb 2016, 6:49 PM
Jose Maria
7 Réponses
+ 5
auto' only activates the scrollbars if the content inside the block pass trough of its limit. while 'scroll' property forces scrollbars to show up always.
6th Apr 2016, 2:20 PM
Leonardo Oliveira
Leonardo Oliveira - avatar
+ 1
love you guys all wonderful and full of valuables
16th Dec 2016, 3:35 PM
Cele Prince
Cele Prince - avatar
0
Leonardo Oliveira is absolutely right
23rd Jun 2016, 1:35 PM
Sumanth Reddy
Sumanth Reddy - avatar
0
overflow: scroll will hide all overflowing content and cause scroll bars to appear on the element in question. If the content does not overflow, the scrollbars will still be visible, but disabled. overflow: auto is very similar, but the scrollbars only appear when the content is overflowing.
28th Jun 2016, 5:19 AM
beaTa
beaTa - avatar
0
Auto will only show a scrollbar when any content is clipped. Scroll will however always show the scrollbar even if all content fits and you cant scroll it.
8th Jul 2016, 8:00 PM
Maamoun Mokni
Maamoun Mokni - avatar
0
scroll: scroll bars will be added even if there is not enough content to overflow the <div>. auto: scroll bars are added IF AND ONLY IF content overflows.
16th Jul 2016, 8:08 AM
Justin Marino
Justin Marino - avatar
- 1
auto is fixed scroll allows you to scroll the text within the document box
4th Mar 2016, 4:31 AM
Mike
Mike - avatar