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

strange button style inside page view

1 Answer 53 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
binbin
Top achievements
Rank 1
binbin asked on 01 Sep 2008, 07:42 AM
We are use FormDecorator.
but some times , i find two line in button.
I check these pages.. then find. all wrong style have one reason. button inside page view.
correct button style:

wrong button style

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 01 Sep 2008, 10:22 AM
Hello,

To construct a skinned button, the RadFormDecorator uses a parent A tag, and two nested SPAN tags.

The problem most likely comes from the fact that in your CSS code there are some kind of global classes (either A, or SPAN) set that propagate down to the styled buttons.

Please, try to exclude your own css styles and observe the result. I noticed that you are using a custom TabStrip skin, which uses borders to style its buttons. What I suggest is to try using class selectors, rather than element selectors in order to prevent such behaviors with third party controls.

However, we would like to thank you for pointing out this issue. We are currently creating a kind of a css-reset stylesheet for RadFormDecorator that prevents such CSS issues.

Sincerely yours,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
FormDecorator
Asked by
binbin
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or