Take a look at the jsfiddle example.
Expected result:
Actual result:
Here is the HTML snippet responsible for that section of the page:
<input type="submit" name="BT_resetZoom" value="Reset coordinates" id="BT_resetZoom" tabindex="10" style="height:50px;width:125px;">
<div style="display: inline-block;">
<span id="LBL_Xmin" class="labelsAxis">X :</span>
<input name="TXT_graphXmin" id="TXT_graphXmin"
tabindex="3" type="text" style="width:75px;">
<span id="MainContent_LBL_Xmax"
class="labelsAxis">to</span>
<input name="TXT_graphXmax" id="TXT_graphXmax"
tabindex="4" type="text" style="width:75px;">
<br>
<span id=LBL_Ymin" class="labelsAxis">Y :</span>
<input name="TXT_graphYmin" id="TXT_graphYmin"
tabindex="5" type="text" style="width:75px;">
<span id="MainContent_LBL_YMax"
class="labelsAxis">to</span>
<input name="TXT_graphYmax" id="TXT_graphYmax"
tabindex="6" type="text" style="width:75px;">
<br>
<br>
</div>
I've experimented with different heights and tried enclosing the button in <div>
tags, but nothing seems to work.
Any suggestions on how to align a button with a div?