Vertically Aligning Icon

4 posts, 1 answers
  1. Michael O'Flaherty
    Michael O'Flaherty avatar
    67 posts
    Member since:
    Jun 2010

    Posted 22 May 2013 Link to this post

    Hi! Is there a simple way to align the icon vertically via CSS? (See attached.) Thanks!
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 May 2013 Link to this post

    Hi Michael,

    Try overriding the default CSS by setting a corresponding fixed height for the radconfirm window content as follows.

    CSS:
    <style type="text/css">
        .RadWindow .rwWindowContent .radconfirm
        {
            height: 17px !important;
        }
    </style>

    Thanks,
    Shinu
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael O'Flaherty
    Michael O'Flaherty avatar
    67 posts
    Member since:
    Jun 2010

    Posted 23 May 2013 Link to this post

    Worked like a charm--thanks a bunch!
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 23 May 2013 Link to this post

    Hi guys,

    The following KB article gives other CSS options that change the background-position property instead of makin the area too short: http://www.telerik.com/support/kb/aspnet-ajax/window/centering-the-buttons-of-the-predefined-dialogs-and-keeping-the-image-aligned-to-the-top.aspx.


    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top