![]() |
TD - vertical alignment top AND bottom?
I got the following problem and haven't found a (good working) solution:
Let's say there is a table cell (td). Within this cell, I have two div elements. The first one should be aligned ad the top of the cell, the second one at the bottom. Any idea how this could be done? |
Vertical alignment is not easy to do in CSS - easier in Table layouts (bad Natch, bad Natch!) ...
Try Code:
<td> |
Doesn't work at alll.
- DIV tags don't have a valign-attribute. - the style definition is invalid So I modified the code: Code:
|
'scuse me for being tired :p
|
1 Attachment(s)
*bump*
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> How could I get it working? |
*bump*
I'd really need a solution for this ... Anyone? |
Why not use CSS Positioning to work out your problem. Check this link -> http://www.w3.org/TR/REC-CSS2/visure...ed-positioning
|
Hmm ... can you give an example on how to use this?
I can't seem to get it working :( If I create two divs with
Same for position: absolute |
Hmmm...let me play with this a bit & get back to you.
|
Thanks a lot :)
|
All times are GMT. The time now is 03:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|