Posted by Lόpher Cypher on 01/03/06 19:15
mattmerc@bellsouth.net wrote:
> Hi all,
>
> I have some information I'm trying to format inside <td></td> tags.
> Let's use this for example:
>
> <table width="100%">
> <tr>
> <td>left right</td>
> </tr>
> </table>
>
> So now I have a row across the screen with the words left and right.
> What I want is for "left" to appear on the left side of the cell and
> for "right" to appear on the right side of the cell.
>
> The first reaction would be to split into two cells and use
> align="left" and align ="right". This does not work because for my site
> I am forced to use a company .css stylesheet. The <td> has a blue
> background and there is a break in the color if I use two <td> tags. I
> really need to do this inside one cell and have 1/2 the text on the
> left and 1/2 on the right. Aligning with divs or spans does not work
> for some reason.
>
> any help is appreciated. Thanks.
<td>
<table style="width:100%; margin:0; padding:0;">
<tr>
<td style="text-align:left;">left</td>
<td style="text-align:right;">right</td>
</table>
</td>
--
- lΓΌpher
---------------------------------------------
"Man sieht nur das, was man weiΓ" (Goethe)
Navigation:
[Reply to this message]
|