How to retrieve the Image height and width from the IMG tag using jQuery and use this value in div style. example
<div class=center > </div>
<img src="source.png" width="100" height="200" />
<div class="bottom">     </div>
I want to use the height of the Image and and apply to the DIV. enter code here and
I have an image on the left and text on the right. Like two column pillars I want the image to appear at the center of the page when reviewing the text.
I tried Location: fixed
But after that, sometimes, when I reset the IE window to a small size, this image is positioned in the same position, and it moves out of content content when I'm moving I want this image to be scrolled but must remain in the content. It should not move beyond the original content range.
Thank you for helping me