You are here: Re: Table problem « HTML « IT news, forums, messages
Re: Table problem

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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация