Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Anchor div at bottom of another div (sorry, it's wordpress) Reply To: Anchor div at bottom of another div (sorry, it's wordpress)

#261541
Beverleyh
Participant

I needed to add padding to the top/bottom of the parent section – as soon as I do that it moves the last div up off the bottom by that amount

It depends what you’re doing (I haven’t visited the link), but you can position with a negative offset – try something like margin-bottom: -25px; to pull the last div back flush with the bottom.

Learn more about layout here http://learnlayout.com so that you can finally remove that “noob/newb” label ;)