The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS AnythingSlider : Dynamic Height Re: AnythingSlider : Dynamic Height


Oh that sounds you’re adding padding or a margin directly to the LI… all browsers include these settings in addition to the set dimensions, so you’ll need to set the LI and the first div margin and padding to zero, then the div inside of that “.panel1” can get margin and padding and maintain the correct dimensions of the outside panel. Or you can use css3 box-border.

Check out this demo, and this article for a better explanation.