I have a problem with positioning with some elements, checking its IE8 developer tools, this shows me the following:

Now I am sure that my problem is that there are 12 offsets, but how to remove it ? I cannot find mention of CSS offset property. Do we need an offset besides the field?
Here is the code that produces this:
<div id="wahoo" style="border: solid 1px black; height:100px;"> <asp:TextBox ID="inputBox" runat="server" /> <input id="btnDropDown" type="button" style="width:26px; height:26px; background-position: center center; border-left-color: buttonface; background-image: url(Images/WebResource.gif); border-bottom-color: buttonface; border-top-color: buttonface; background-repeat: no-repeat; border-right-color: buttonface;" tabindex="99" /> <div id="ListboxWrapper" style="display:none; position:absolute; onfocusout="this.style.display = 'none'""> <asp:ListBox ID="lstBoxCompany" runat="server" AutoPostBack="True" OnSelectedIndexChanged="lstBoxCompany_SelectedIndexChanged" style="z-index: 100;" Width="300px" /> </div> </div>
Item with offset inputBox
html user-interface css internet-explorer
m.edmondson Jan 27 '11 at 2:42 on 2011-01-27 14:42
source share