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

Button text float to right

8 Answers 212 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Iron
Daniel asked on 16 Jul 2009, 05:22 AM
Hi. I noticed since upgrading to Q2 2009 (2009_2_701) controls that input buttons text are floating to the right instead of center when the page uses the FormDecorator. Is this a bug or by design? You can clearly see it in the demos.

http://demos.telerik.com/aspnet-ajax/formdecorator/examples/default/defaultcs.aspx

Applying a float: none !important or text-align: center !important just seems to remove all formatting on the button.

Daniel

8 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 16 Jul 2009, 11:19 AM
Hi Daniel,

Actually, this is bug with IE7. The fix is as follows:

*+html .rfdSkinnedButton *
{
 padding-left: 6px !important;
}

The fix will be visible to IE7 only, and will not affect other browsers.

All the best,
Martin Ivanov
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.
0
Daniel
Top achievements
Rank 1
Iron
answered on 16 Jul 2009, 10:42 PM
Ineed it is a bug with IE7. I should have tested it with FF before jumping the gun. Thanks for the work around Martin.
0
Rich
Top achievements
Rank 1
answered on 05 Oct 2010, 03:33 AM
Hi All

I am having this same problem and have tried the CSS without help. I am getting this on all 5 of the major browsers. See attached image for an example.

0
Rich
Top achievements
Rank 1
answered on 05 Oct 2010, 03:44 AM
Ok...Never mind...

There was a problem elsewhere in my CSS.
0
TomaszRabiasz
Top achievements
Rank 1
answered on 10 Dec 2010, 11:19 AM
I have the same problem in version 2010.3.1109.35. :(
0
Georgi Tunev
Telerik team
answered on 11 Dec 2010, 12:23 PM
Hi Rafal,

If the solutions suggested here does not help, please open a support ticket and send us a sample project so we can investigate.


Regards,
Georgi Tunev
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
0
Big Q
Top achievements
Rank 1
answered on 18 Feb 2011, 08:23 AM
I also have this problem with my IE8, the text float to right. RadControl version is 2010.1317.40. Last version did not has such problem, but after upgraded, it appears.
0
Georgi Tunev
Telerik team
answered on 21 Feb 2011, 03:54 PM
Hello,

Try adding the following style:
.rfdButton input.rfdDecorated[type="button"],
.rfdButton input.rfdDecorated[type="reset"],
.rfdButton input.rfdDecorated[type="submit"],
.rfdButton .rfdSkinnedButton button,
.rfdButton a.rfdInputDisabled.rfdSkinnedButton:hover *
{
    padding: 0 6px 0 10px !important;
}


Regards,
Georgi Tunev
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Tags
FormDecorator
Asked by
Daniel
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Daniel
Top achievements
Rank 1
Iron
Rich
Top achievements
Rank 1
TomaszRabiasz
Top achievements
Rank 1
Georgi Tunev
Telerik team
Big Q
Top achievements
Rank 1
Share this question
or