superslurpee
Programmer
- May 15, 2002
- 108
Hi,
I have a page-sized div (w & h are 100%) and I want a div inside it (the bottom links) to move to the bottom of the page (rather than just underneath the content that is there). Of course there's no problem when the page content is large, but when it is small, the bottom links div just resides directly underneath the content.
I've tried vertical-align:bottom but that doesn't seem to work. I know I could position it absolutely and have the bottom=0em but for accessibility, that isn't good (resizing text would mean the content and links would overlap). I just basically need to 'valign=bottom' like the way it used to be done with tables.
So how do I move a div to the bottom of another div?
Thanks for any help peeps!
I have a page-sized div (w & h are 100%) and I want a div inside it (the bottom links) to move to the bottom of the page (rather than just underneath the content that is there). Of course there's no problem when the page content is large, but when it is small, the bottom links div just resides directly underneath the content.
I've tried vertical-align:bottom but that doesn't seem to work. I know I could position it absolutely and have the bottom=0em but for accessibility, that isn't good (resizing text would mean the content and links would overlap). I just basically need to 'valign=bottom' like the way it used to be done with tables.
So how do I move a div to the bottom of another div?
Thanks for any help peeps!