|
Posted by John Salerno on 02/11/06 08:42
If I have a div with some text in it (a date and a time), and I want the
date left-aligned (default) and the time right-aligned with the right
side of the div, how would I do that?
I put spans around the date and time and gave them each a class of .date
and .time, and for time I did:
..time {
text-align: right;
}
but that didn't do anything, so I figure maybe I'm not using the spans
correctly.
Navigation:
[Reply to this message]
|