Dragonusthei
20 Nov 2007, 09:42 AM
Hello.
I have a div that is the main content box.
Inside this div i have 2 images in divs.
Image and div 1 must sit at the top of the content box - No problems here.
Image and div 2 must always sit at the bottom of the content box - heres the problem.
I cannot get the image to stay at the bottom of the div regardless of the size of the content box.
I have tryed postion abolsute with bottom set to 0 but this sends it to the bottom of the page and not the div.
In the same way if i use margin-top: 100% it sends it to the bottom of the page as does padding.
Solutions?
I have a div that is the main content box.
Inside this div i have 2 images in divs.
Image and div 1 must sit at the top of the content box - No problems here.
Image and div 2 must always sit at the bottom of the content box - heres the problem.
I cannot get the image to stay at the bottom of the div regardless of the size of the content box.
I have tryed postion abolsute with bottom set to 0 but this sends it to the bottom of the page and not the div.
In the same way if i use margin-top: 100% it sends it to the bottom of the page as does padding.
Solutions?