MacResource
CSS overflow problem - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: CSS overflow problem (/showthread.php?tid=84960)



CSS overflow problem - lipskidder - 09-24-2009

So I am trying to create a horizontal area with thumbnails.

I have the box set at 2000 pixels (just a random number for now) because there will be a bunch of them but the style sheet set at 600 pixels which is the width of my design area.

I am getting a vertical scroll bar when I don't want one. I tried using:

overflow:auto
overflow-x: auto
overflow-x: scroll

None of them remove the vertical scroll bar. I can't figure out what isn't working. When I try adding overflow-y:hidden it just hides the problem and can't see the remaining thumbnails. I have done this before but can't understand what I may be missing.


Re: CSS overflow problem - mattkime - 09-25-2009

link to problem? should be simple.


Re: CSS overflow problem - M A V I C - 09-25-2009

In some browsers if the horizontal scrollbar is added, then the vertical one shows up.


Re: CSS overflow problem - lipskidder - 09-25-2009

I was getting ready to post a link but thought I would nit pick at it one more time and found success. Apparently I had an extra line of code in there from a previous attempt but couldn't see it because it was in my DIV tag. Or under it. I have been at this for hours but after hearing it should be "simple" I thought I would pretend it was instead of impossible. Thanks, Mattkime!


Re: CSS overflow problem - mattkime - 09-25-2009

I wish that advice was frequently found more useful