I have two HTML buttons that I want to be next to each other on the same line as the first (Submit Request (s)) to be the first. The problem I am facing is that the top of the second button starts where the bottom bottom button ends. The second button is correctly moved to the right due to the margin-left element: 50px. I have listed the HTML from the two buttons below:
<button style="float: left;" onclick="javascript:submitRequests();"> Submit Request(s) </button> <button style="float: left; margin-left: 50px" onclick="javascript:document.location.reload(true);"> Reset </button>
source share