Setting height for a div inside a slidebox


#1

I have a div inside each slide ,how do I set the height of the div to cover the whole content area.

I have tried setting the height/min-height of the div to 100% but it doesn’t work.


#2

Try this:

.slider {
    height: 100%;
}

#3

Hi,
Thanks.

This solution works only if I add :

.scroll {
height:100%
}

will doing this introduce css issues elsewhere?


#4

I’m not really sure. You might want to post a CodePen sample if you have any further trouble with it.

Here is a very ugly sample that is 100% height: http://codepen.io/calendee/pen/Kbpyg