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

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1693 posts
    Member since:
    Oct 2004

    Posted 25 Feb 2013 Link to this post

    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.
Back to Top