Hi, I'm not sure if I understand your problem correctly... but
if you do not want the length to overtake the 800px that you've forced the container to be then put a fixed width (no sense having a percentage if your ultimate container is fixed width!) on the #main and have overflow:auto ... don't worry about any fancy overflow-x or anything. And then you'll only see the vertical scrollbar. Let me know how this works for you. ~ Lacuna -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Leventhal Sent: 07 August 2007 14:55 To: css-d Subject: Re: [css-d] scrollbars and 'overflow' > From: [EMAIL PROTECTED] on behalf of Ray Leventhal > Sent: Tue 8/7/2007 8:28 AM > To: css-d > Subject: [css-d] scrollbars and 'overflow' > > > > Hi all, > > I've a site with a moderate amount of content in each page, with one > exception. > > Markup: > http://www.newlifemontessori.org/index.php?why > > CSS: > http://www.newlifemontessori.org/styles/newlifemontessori.css > > I've got overflow-y: auto; on <div id="main">, so I certainly expect to > see the vertical scroll bar. > > I was going to ask: "Must I explicitly add overflow-x: hidden; to that > element to prevent the horizontal bar at bottom? " but even with that > added, the horizontal bar appears. > > The content doesn't appear to come close to the div boundaries, so this > one has me a bit puzzled. > > TIA for any comments/suggestions. > > Best regards, > ~Ray > > > > [EMAIL PROTECTED] wrote: > Set overflow-x:none > > ________________________________ > Thanks, Scott. Sadly that didn't fix the problem. Since my original post, I realized I was 'overflow'ing the wrong element. The scrolls were appearing on 'container' not 'main'. I've adjusted my css, but alas....the content of main is now breaching the lower boundary on this page. Looking forward to the solution of what is surely a newbie issue :) ~R ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
