QUOTE(hotsnoj @ 13 Dec, 2006 - 08:13 PM)

Errors corrected and CSSed
<a href="blah"><img alt="blah" src="blah" style="text-align:right; border:0px;"></a>
CSS dudes, do I have that text-align correct?
I don’t believe so. When the deprecated
align attribute is used on an image, it’s equivalent to the CSS
float property, so that would be
float: right.
The
text-align property, on the other hand, aligns inline (text) content inside a container; so, if you had an anchor (
a) element sized at 500 by 500 pixels, containing an image at 300 by 300 pixels, then you could use
text-align on the anchor element to move the image to the left, center, or right inside its container (the anchor element). More commonly, the container would be something like a paragraph though and
text-align would align all of the text in addition to the image.