Forums

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

Home Forums CSS anchor tag not registering margin-top Re: anchor tag not registering margin-top

#92604
Senff
Participant

There’s nothing messy about declaring it a block element (which is kinda the logical way, inline elements don’t really take top- or bottom-margins), so I would just do that.

No need to give it a fixed width though, you can use float: left; without any problems (since there are no elements following it).