Forums

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

Home Forums CSS Need help with positioning box link in CSS Re: Need help with positioning box link in CSS

#107560

Glad to help out, and that you have learnt some stuff too!

In this case, padding is suitable, and behaves a bit more than margin (two margins butting up against each other collapse for instance). If you had a background image though, margin would be the way to go.

To understand a bit more about the difference between margin and padding, and the CSS box modal in general, have a read of this: https://css-tricks.com/the-css-box-model/