unixman83 unixman83 - 10 months ago 59
CSS Question

right align an image using CSS HTML

How can I right-align an image using CSS.

I do not want the text to

the image. I want the right aligned image to be on a line by itself.

Answer Source
<img style="float: right;" alt="" src="http://example.com/image.png" />
<div style="clear: right">