Home › Forums › CSS › anchor tag not registering margin-top › Re: anchor tag not registering margin-top
December 13, 2011 at 12:04 pm
#92604
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).