and tag?-隐瞒了意图╮的回答
and tag? 前端 未结 关注 6 1101 小蘑菇 2021-02-01 02:57 I have been trying to implement margin-top for a link button but it doesn\'t work at all. I have also tried inline styles for both \'p\' and \'a\' tag. There are 3 li el
I have been trying to implement margin-top for a link button but it doesn\'t work at all. I have also tried inline styles for both \'p\' and \'a\' tag.
There are 3 li el
The tag is an inline element and therefore cannot have a top or bottom margin. But you can solve this by applying display: inline-block; to it.
display: inline-block;