yesterday, small make up friend consulting, said he also met this problem, and use Css syntax such as margin, padding, is no problem.

page directly put an input text box with ImageButton pictures button, but found no alignment:

 code is as follows: 

<Input type="text" id="txtQty/>"
<Asp: ImageButton ID="IBtnBuy" runat="server"/>

as shown

button to add to the picture as a CSS properties can be:

 code is as follows: 

<Asp: ImageButton ID="IBtnBuy" runat="server" CssClass="btnImg/>"
btnImg {vertical - align: middle; }

this is the alignment:

# 0 - #

This concludes the body part