I have applied transform: rotate(90deg);
CSS on my image, but it is also rotating ALT text, which is causing this text to appear over other image whenever image is not found.
Is there any why in which I can prevent ALT text from getting rotated?
<div>
<img style="transform: rotate(90deg);" alt="User Name" src="http://ImageURL">
</div>
div { margin-top:50px; }
<div>
<img style="transform: rotate(90deg);" alt="User Name" src="http://ImageURL">
</div>
EDIT
I am having a lot of images on the page.