asp:CheckBox text in ItemTemplate doesn't align center vertically

3 posts, 0 answers
  1. Paul Buxton
    Paul Buxton avatar
    39 posts
    Member since:
    Jan 2007

    Posted 29 Jul 2009 Link to this post


    I have a simple checkbox in my RadToolbar in an item template.  The checkbox square appears aligned vertically correctly, but the associated Checkbox text appears to be lower.

    Is there some stylesheet seeting i need to apply to this?

    Its the 2008 Q3 SP1 version, applicable to both FF3.5 and IE8.  Other browsers and versions untested.

  2. Yana
    Yana avatar
    4603 posts

    Posted 30 Jul 2009 Link to this post

    Hi Paul,

    I suggest you set CssClass property of the checkbox like this:

    <telerik:RadToolBar ID="RadToolBar1" runat="server"
                       <telerik:RadToolBarButton Text="test"
                            <asp:CheckBox ID="CheckBox1" runat="server" Text="checkbox test" CssClass="checkB" /> 

    and add the following styles to your page:

    <style type="text/css"
        .checkB label{ 
            top: -2px

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Prasad
    Prasad avatar
    2 posts
    Member since:
    Nov 2008

    Posted 29 Dec 2009 Link to this post

    Thanks :)
Back to Top