Forum Moderators: not2easy
I have a dom/css scroller that extends the width of the page. The content to be scrolled, of course, is wider than the page. Functionally it's fine but the page has a horizontal scrollbar and which when used, will show you a big empty spot at the side of the page.
I'm curious if anyone knows why this is. Reading the spec, I can't imagine why all browsers do it the same way, and why it seems so wrong:
[w3.org...]
A clipping region defines what portion of an element's border box is visible.
I wonder if this means that the object still occupies it's full width, but only the dimensions specified in the clip attribute are visible. This would produce a scrollbar like you say.
Why not use the overflow attribute instead?
Is this what you meant?