|
Posted by John Salerno on 06/01/06 19:15
David Dorward wrote:
> John Salerno wrote:
>
>> Ridiculously simple, but I can't figure it out. How do you make the text
>> in <td> elements align to the right of the table cell?
>
> Same as any other element, with the CSS text-align property.
>
Shucks, I was looking in the wrong place, I guess. :)
Thanks for the response!
Just a quick followup: Is it good practice to make a separate class just
to accomplish this alignment, if you don't want all <td>s to be
right-aligned? I did class="textlabel" and then a td.textlabel property.
It doesn't seem very elegant though, for some reason.
Thanks.
[Back to original message]
|