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

Breaking Change?

1 Answer 56 Views
Button
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 13 Jun 2013, 08:24 AM
Hi
I use local copies of your std skin files so I can make subtle changes.

I have just installed the latest release, and all my button controls have lost their CSS styling - see image.

What has changed?

Andy

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 14 Jun 2013, 07:31 AM
Hi,

I can't tell what should be the problem only form the screenshot, but I guess it should be that: [Breaking Change] Since Q1 2013 RadButton's rendering is HTML5 compliant .

And I will paste the info from the forum also here:

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.



Regards,
Bozhidar
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 the blog feed now.
Tags
Button
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Bozhidar
Telerik team
Share this question
or