I need to place an element in the upper corner of the cell table, and the text should be folded at the bottom. I used vertical-align: bottom to move all the text down, but now I have a problem with the top element, since the table-cell does not support relative positioning ... any ideas how to do this?
<div style = "display: table-cell; vertical-align: bottom"> <div class = "top"> Top corner</div> <h2> some text in the bottom </h2> <h3> some more text in the bottom </h3> </div>
edit: It should look something like this.
+-----------+ +-----------+ +------------+ |top text | |top text | |top text | | | | | | | |some long | | | | | |text | | | | | |more long | | | | | |text | | | | | |end of | | | |some text | |text | |text | |text | |<button> | |<button> | |<button> | +-----------+ +-----------+ +------------+
All this is wrapped in a div with a display: table. The reason I want to use display: table-cell is to keep these columns equal in height and still flexible to accommodate different lengths of text in the columns.
source share