The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

Text Align Right for a Table Cell

  • # January 26, 2010 at 6:32 pm

    If I have the rule

    td.tar { text-align: right; }

    and the tag


    the number will not be right justified. If I change the tag to


    It does justify.

    What is it I don’t know? (I mean about this – what I don’t know in general would fill an abyss.)

    # January 28, 2010 at 3:30 am

    This reply has been reported for inappropriate content.

    I think this would fix your problem:



Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed