Christian Heilmann wrote: >> IE6 can be tricked though, by adding: >> <html dir="rtl"> >> ... >> <body dir="ltr"> >> >> Not tested with complex pages, just a simple text only page of >> 900px wide. > > ^ Bad idea to use that to achieve a visual effect. You need it > for arabic and hebrew languages (amongst others) and it is an > important i18n hook and not there to fix browser problems.
True - I'm only toying with the concept though. I think it's a bad idea in itself to show people only the most right 800px of a webpage. What if they're on a 600px viewport? Going back to the OP's original question, and assuming he only would wants the rightmost 800px be shown with a scrollbar to the right but not to the left if on narrower viewports than 800px (i.e. the full 800px width must be accessible, but not the 'extra' that's to the left of it), I think this may do what he's after: body{ width:800px; margin-right:0; margin-left:auto; } #container{ position:relative; } #left{ position:absolute; left:-150px; width:150px; } <div id="container"> <div id="left"> ... </div> ... </div> IE6 needs a refresh after resizing the window though. -- Els http://locusmeus.com/ http://locusoptimus.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/