How to get the height of an image and apply that height to a div? [migrated]
- by Mick79
I am building a mobile web app and I'm using jquerytools slider on it.
i want te slider to show (in proper ratio) across all mobile devices so width of the images is 100% and height is auto in css. However as all the elements are floated and jquerytools slider requires the position be set to absolute, the containing div (#header) doesn't stretch…