Hi i want to rotate the image by 90 deg and align the image inside the div borders. ie the outer div should expand automatically depending upon the height of the image. I have attached the JSFIDDLE with this.
<div style="float:left;border:1px solid #000;">
<span style="float:left;transform:rotate(90deg); transform:50% 50% 0;">
<img src="http://dimox.net/wp-images/css-border-radius.jpg"/>
</span>
</div>