Chris Hardie wrote:
> And I presume because when the left attribute is assigned a negative
>  value, the calculation of the canvas's width is not increased, so
> scroll bars are not added?

The fact is that "browsers" decided to providing horizontal scrolling to
one side only - the right side, because nearly all pages back in those
days were aligned left.
The spec-writers intended to allow scrolling to both sides, but once
they thought of writing that in the specs it was simply too late since
"off-screen" positioning were already common and would ruin too many
pages by creating a scroll-bar. So the spec-writers left the issue open,
and accepted the way browsers do it as the de facto standard.

(I read this in an interview with Bert Bos somewhere, not too long ago,
so you know where to ask if I got the details wrong.)


So what we have now is "off-screen" without scroll-bars to the left for
ltr pages, and "off-screen" without scroll-bars to the right for rtl
pages - at least in the latest rtl capable browser-versions.

If you want something "off-screen" without scroll-bars for both ltr and
rtl pages, position it over the top of the document and make it narrow.
Works in all browsers, AFAIK. Doesn't matter how you position it over
the top though, even a large negative margin-top on any element will do.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to