Set <a> to display as a block element while inline
Want an anchor element to display as a block element while inline?
- Parent
<ul>as block withheight. - Set parent
<li>withline-height, notheight. - Set
<a>todisplay: inline-table; - Set
<a>todisplay: inline-block;