I have a button over my div.
<button id="showmenu" type="button">Show menu</button>
<div class="sidebarmenu">
Some code
</div>
The div is displayed right below the button. I want the button to be displayed with a line break. I know it is a bad practice to use <br/>
. How do I give space without it?
– Bittu Sep 02 '13 at 12:38
with margin usage in css. However don't think that simply using
is bad practice, it's not, in your example it would be the easiest & fastest way to accomplish what you want, and isn't a _bad_ way to do it. See mattytommo's response. – SubjectCurio Sep 02 '13 at 12:42