Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialvamosrope14
14,932 PointsWhat is implied by a vertical scroll?
.
3 Answers
Steven Parker
231,269 PointsThat would generally be true for the window itself as long as that behavior has not been overridden.
But you can also have scrollbars on elements. An "auto" scrollbar will appear anytime the content is greater than the nearest containing element, which could potentially be smaller (or larger) than the viewport.
There are also property settings that causes the scrollbar to be visible at all times.
vamosrope14
14,932 Points.
Steven Parker
231,269 PointsWhat I was trying to explain the first time is that there are many causes for a scroll bar, and some are completely unrelated to the viewport size. So having one doesn't imply anything you can rely on.
But you're right, the "viewport" is the visible area of the page, which varies with the device.
vamosrope14
14,932 Points.
Steven Parker
231,269 PointsI don't know what you are referring to by "this example".
vamosrope14
14,932 Pointsvamosrope14
14,932 Points.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsI don't recall all the examples in the course, but it's certainly more common for responsive designs to result in a vertical scrollbar but not a horizontal one.