What attribute do they use to scroll item side to side on page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What attribute do they use to scroll item side to side on page?

23rd Mar 2017, 1:09 PM
SuperHero
SuperHero - avatar
3 Answers
+ 13
CSS property - Overflow Values visible - The entire content of the element is displayed, even outside the specified height and width. hidden - Displays only the area inside the cell, the rest will be hidden. scroll - Always add scrollbars. auto - Scroll bars are added only when necessary. Example <style> .layer { overflow: scroll; width: 300px; border: solid 1px black; </style>
23rd Mar 2017, 2:46 PM
mr.Frechman
mr.Frechman - avatar
0
thanks...a lot... I'll try it tomorrow in my office pc
23rd Mar 2017, 4:19 PM
SuperHero
SuperHero - avatar
- 1
I got an attribute for this ... called "margin lef=px
25th Mar 2017, 6:33 PM
SuperHero
SuperHero - avatar