Can you assist me?
I'm struggling to understand why my elements are displaying incorrectly. I want them to be centered within a div with a background color, but for some reason, the div is pushed to the back and it seems like my elements are outside of the div tag.
I have included a picture and I am using IE 10.
Below is the code snippet:
<!-- BUTTONS -->
<div style="width: auto; margin-top: 5px; background-color: rgb(223,223,223); border: 1px solid rgb(128,128,128); padding: 5px;">
<div style="float: left;"><input type="button" value="<<"></div>
<div style="float: left;"><input type="button" value="<"></div>
<div style="float: left;"><input type="text"></div>
<div style="float: left;">of</div>
<div style="float: left;"><input type="text"></div>
<div style="float: left;"><input type="button" value=">"></div>
<div style="float: left;"><input type="button" value=">>"></div>
</div>