Autoresize Element (div) To Fit Horizontal Content
I tried googling, but didn't come up with much. I'm building a horizontal carousel which displays images in a LI, floated. The issue I want to solve is, everytime I add thumbnails
Solution 1:
I've found that using a containing carousel div with white-space: nowrap
and overflow: hidden
has worked. I then have display: inline-block
for each item in the div.
Post a Comment for "Autoresize Element (div) To Fit Horizontal Content"