Search Engine Optimization > Webmaster World > Two lines in table`s cell
Two lines in table`s cell
Posted by sebek on March 22nd, 2006

Hi,
I want write two lines in table`s cell. But, first line should be align
top and second line should be align bottom. I use paragraph but it
doesn`t work. I have:
<td valign="top">
text
<p class="bottom">text bottom</p>
</td>

in css file i have:

p.bottom {margin-bottom: 0px; margin-top: auto;}

Thx for help!

Posted by Matt Probert on March 23rd, 2006

On 22 Mar 2006 05:28:28 -0800, "sebek" <sebekgroup@o2.pl> wrote:

Try nesting a table within the cell, and valigning two cells within
the nested table.

Yes I know it's horrible,

Matt



Posted by sebek on March 23rd, 2006

:-) I know that table is good :-), but know You different solution?

Thx!

Funbolt.com - Entertainment portal, wallpapers, sexy celebs