How do a right align part of a sentence?
City name date time
I want "City name" to stay left but I want "date time" to tab and right align. I know I can add non breaking spaces but that is too much trouble and breaks if I widen the containing space.
If it's a table row I'd use two cells.
If it's a complete sentence, maybe you could float the two parts left and right.
If it's just a part of a sentence, please post a complete example because then I don't understand.
I figured it out. I used float: right.
Actually, if it is a table and different cells, you can just align the parts left and right with text-align: left and right. Same goes if they are in different block level boxes, like P or DIV.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)