Home › Forums › CSS › AnythingSlider : Dynamic Height › Re: AnythingSlider : Dynamic Height
August 12, 2012 at 11:13 am
#107767
Mottie
Member
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.