This is a migrated thread and some comments may be shown as answers.

Vertically Aligning Icon

3 Answers 86 Views
Window
This is a migrated thread and some comments may be shown as answers.
Michael O'Flaherty
Top achievements
Rank 2
Michael O'Flaherty asked on 22 May 2013, 07:20 PM
Hi! Is there a simple way to align the icon vertically via CSS? (See attached.) Thanks!

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 23 May 2013, 04:14 AM
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
0
Michael O'Flaherty
Top achievements
Rank 2
answered on 23 May 2013, 01:00 PM
Worked like a charm--thanks a bunch!
0
Marin Bratanov
Telerik team
answered on 23 May 2013, 03:10 PM
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.
Tags
Window
Asked by
Michael O'Flaherty
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Michael O'Flaherty
Top achievements
Rank 2
Marin Bratanov
Telerik team
Share this question
or