Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CSS overflow problem
#1
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.
Reply
#2
link to problem? should be simple.
Reply
#3
In some browsers if the horizontal scrollbar is added, then the vertical one shows up.
Reply
#4
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!
Reply
#5
I wish that advice was frequently found more useful
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)