I have a table cell in which one line of text is broken and aligned
separately (you know, telephone book-style). Inside the cell, the left piece
of text should remain at the left while the text on the right should be
aligned to the right.
This leaves the desired space in between, but there are three columns in
which the cells do this. The columns should not expand.
Is there any way to do this?
windandwaves - 27 Feb 2006 23:02 GMT
> I have a table cell in which one line of text is broken and aligned
> separately (you know, telephone book-style). Inside the cell, the
[quoted text clipped - 5 lines]
>
> Is there any way to do this?
This may work
<div id="two" style="float: right:">right stuff</div>
<div id="one">left stuff</div>
HTH
> Nicolaas
windandwaves - 28 Feb 2006 10:03 GMT
sorry, I meant:
<div id="two" style="float: right; text-align: right;">right stuff</div>
<div id="one">left stuff</div>
Tony - 28 Feb 2006 18:20 GMT
> sorry, I meant:
>
> <div id="two" style="float: right; text-align: right;">right stuff</div>
> <div id="one">left stuff</div>
The text-align:right is PROBABLY not necessary with the float:right, but
it also won't hurt...
Harlan Messinger - 28 Feb 2006 18:52 GMT
>> sorry, I meant:
>>
[quoted text clipped - 3 lines]
> The text-align:right is PROBABLY not necessary with the float:right, but
> it also won't hurt...
It is necessary if the default alignment is left and the float flow onto
more than one line.