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

[Breaking Change] Since Q1 2013 RadButton's rendering is HTML5 compliant

0 Answers 144 Views
Button
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Telerik Admin asked on 25 Feb 2013, 09:41 AM
Since Q1 2013, the wrapping element of RadButton was changed from an anchor <a> tag to a <span> because the HTML5 specification does not allow nesting <input> elements into <a> tags. If you are using any custom CSS cascades based on the <a> tag, they should be changed to use the <span> tag, e.g.

Old syntax:
a.RadButton .rbDecorated
{
      color: red;
}

New syntax:
span.RadButton .rbDecorated
{
      color: red;
}

You should not experience problems in custom styling scenarios when an anchor was not used in the CSS cascade.
Tags
Button
Asked by
Telerik Admin
Top achievements
Rank 1
Share this question
or