Hi i have a div that i set the with a width i want to have a scroll bar under
i have multiple images that i want all to be in one line but everytime the images run out space in the line it goes under i have tried float left but the image still goes under is there a way of keep in the same line inside a scrollable i am trying to avoid tables?
Seems to me that you have a div with overflow hidden, but nothing within that div is causing a scroll bar to be needed, nothing that exceeds the width of the container div, so the images are naturally wrapping.
You’re welcome. Personally, I would use one of the techniques from the link because it allows you to have less structural markup, always a good thing. Just to let you know, I goofed by setting overflow:scroll and keeping the overflow-x and y. I would just do “overflow:scroll” for both in that case, since if you get an image that is too large a height, the user would not be able to see it if you have y set to hidden. I wouldn’t hide an image just to keep it clean, as it restricts the user from obtaining useful content. I would just make sure the images are the same height in the first place.