Quoting Jeff Piazza <[EMAIL PROTECTED]>:

> I'm having a problem trying to position a paragraph at the bottom
> right of a table cell.  The only way I can think to accomplish this
> is to declare the table cell "position: relative;", and then use
> absolute positioning for the paragraph within the cell.  However,
> this seems to have the effect of positioning the paragraph relative
> to the viewport, rather than a table cell.  I don't understand why
> this is, or what workaround will get me past this.

I ran into the same problem just a week ago, while creating my  
structured timeline (see  
<http://meyerweb.com/eric/thoughts/2008/01/21/structured-timeline/>  
for more; it's a long one).  It turns out that, per CSS2.1: 9.3.1  
(<http://www.w3.org/TR/CSS21/visuren.html#choose-position>), the  
result when table cells are set to 'position: relative' is undefined.   
I think most browsers are simply deciding that it doesn't apply, and  
thus the table cells don't establish containing blocks for their  
descendants.

The only workaround I can think of is to stick some wrapper element,  
like a 'div', into each the cells and then relatively position it via  
CSS.  Ugly, but it should work.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to