I need to put a single text line under a picture where the caption is on the left and the photo credit is on the right. I have found that <span style="text-align:right"> (text) </span>
simply will not put the text on the right. Nor will it work to define a class "span.right" with text-align:right and use that in the tag.
Are there some limits on style elements that do not work with the span tag, or am I missing something here? I have found nothing about this in the W3School reference material. I can get text aligned to the right with a <p> or a <div> tag, but neither will allow me to accomplish what I want in the same line.
Is there some other way to get the text aligned as I need?


Answers