Results 1 to 1 of 1

Thread: Weirdness in RTL mode when h.scrollbar is active

  1. #1
    Join Date
    Aug 2007

    Weirdness in RTL mode when h.scrollbar is active


    the simple piece of html below works very well on a large window, but when one resizes it down until horizontal scrollbar appears, things become weird (FF2, IE7).

    * On FF2: The red div box is aligned to the left - although I never told it to, and even align="right" and more dir="rtl"s on elements don't help at all.

    *On IE7: Horizontal scrollbar gets WAY to big.

    Removing the DOCTYPE definition "solves" it on IE7 but not on FF2, so I guess that it's not a bug but something that I'm doing wrong: if the two browsers give weird results, maybe it's according to the standards (more or less, cuz two browsers still behave differently).

    Any idea?

    Thanks in advance!

    - Oren

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html dir="rtl">
            <div style="width: 800px; height: 20px; background-color: red;"></div>
    This is also available as a link: http://www.held.org.il/temp/rtl-scrollbar-problem.html
    Last edited by Oren Held; 10-16-2007 at 03:21 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center