Skip to content Skip to sidebar Skip to footer

Floated Div 100% Height Of Parent Inline-block Div

I am making a simple slideshow and I have got the javascript working very easily. However the layout is not going as well. The current image is display in big with a fixed width of

Solution 1:

I solved it! I set div.slideshow to display: block; position: relative; and div.current-slide_wrapper is no longer floated.

I then set div.other-slides_wrapper to position: absolute; top: 0; right: 0; height: 100%;. This worked perfectly!

Post a Comment for "Floated Div 100% Height Of Parent Inline-block Div"