What is the best way to put a RadTextBox and an asp:button side by side to have them vertically aligned?I have put them inside a table and the button does not align with the RadTextBox.
Using Opera (v9.63) it's only off by 1 pixel, but in IE7 it's off by +3 pixels.
Kind Regards,
Robert
1 Answer, 1 is accepted
0
Accepted
Dimo
Telerik team
answered on 17 Dec 2008, 08:50 AM
Hello Robert,
If RadTextBox has ShowButton set to True, it renders as a vertically centered table. Otherwise it renders as a span element with no vertical alignment. In other words, depending on the control's settings, you may need to add a vertical-align:middle to the button. For example: