<div id='wrap'> <div class='image'> <img src='images/1.jpg' /> </div> <div class='image'> <img src='images/2.jpg' /> </div> <div class='image'> <img src='images/3.jpg' /> </div> </div>
what i need is that the height of the div#wrap must has the height of the inner div.image.
I can't give a fixed value to the height because the div.image is going to have different height from time to time. So i need the div#wrap's height to asjust dynamically according to the div.image.
The images i will display today they all have height:100px;
Tomorrow they will have 200px; and so on.
How i should do it??