+ 2
Does bottom and top padding affects inline elements.
HTML & CSS
2 Respuestas
+ 5
Change display property, like this:
#element
{
display: block:
padding-bottom: 10px;
padding-top: 5px;
}
0
not by itself, the block element that the inline is nested in its the one you want to adjust, the css @Maz posted will work if you want to make the inline act as a block, so depends on your needs