Positioning Text at the Bottom of a cell?

P

Pat

I've created a three-column table with FrontPage 2002. The first and third column
contain a lot of text. the middle column contain some text, and so have a lot of
whitepace to the bottom of the cell. All text is top-aligned. Below that is a footer

I've been playing with various CSS solutions - I need to place some text AT THE VERY
BOTTOM of the middle cell, above the footer. (for reasons I won't go into, I can't split
the middle cell).

How can I position text at the bottom of a cell, regardless of the cell's contents?
 
R

Ronx

Here is a solution that has the appearance of your request - but is not
the answer to your question:
<div style="position: relative; width: 100%;">
<table id="table1">
<tr>
<td style="width: 200px;">loads<br />
of<br />
text<br />
goes<br />
here<br />
</td>
<td>
<p style="margin: 0;">some text goes here</p>
</td>
<td>loads of text goes here</td>
</tr>
</table>
<div style="position: absolute; bottom: 0; left: 204px;">Bottom text
here</div>
</div>

This places the cell footer text in a layer outside the table, but
positioned to appear inside the centre cell. This requires the left
cell to have a fixed width. The layer's position may have to be adjusted
to allow for cell padding etc. Other "solutions" I have tried work in
IE7, but fail in FireFox.

Note that the layer will need to have its width constrained to be less
than or equal to the width of the centre cell (not shown in this
example).
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp

FrontPage Support: http://www.frontpagemvps.com/
 
P

Pat

Ah, I see!

If I understand what you are doing,

The text "Bottom text here" positioned by the inside DIV, is positioned at the *bottom*
of the outside DIV!

Yes, my left margin is a fixed width, so this will work for me.

THANKS!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top