How can I add/force bottom margin/padding to the following <a> element ?
<p>
<h31>Testing?</h31>
<a style="margin-bottom: 200px">Create a new Entry</a>
testing padding
/*more stuff here...*/
Styles are very convoluted and the margin-bottom: 200px is not forcing the padding after the <a> element.
The
marginCSS property doesn’t work as expected when the elements are inline. Adddisplay:block, ordisplay:inline-block(in your case) to enable margins on inline elements (such as anchors).The
paddingproperty is usually applied without trouble.