how to locate and edit the css in webresource.axd

2 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Dec 2013

    Posted 10 Dec 2013 Link to this post

    Hey

    I'm trying to figure out how to edit the default css in the webresource.axd file, as its failing compatibility and accessibility tests. 

    For example..

    *html .RadTreeView .rtMinus{margin-right:1px}

    Anyone know where I can find that file and edit it?

    Thanks

    John
  2. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    650 posts

    Posted 13 Dec 2013 Link to this post

    Hello, John.

    By using the approach described in this blog post -- http://blogs.telerik.com/aspnet-ajax/posts/07-03-27/debugging-asp-net-2-0-web-resources-decrypting-the-url-and-getting-the-resource-name.aspx -- you can find the file that corresponds to the web resource.

    Just by looking at the snippet, I can tell it's TabStrip.css located in the Telerik.Web.UI\Skins folder.

    For the second part of your question, I am not 100% certain what you mean by "failing compatibility and accessibility tests".

    If the styles are wrong, you can easily override them by using a stronger selector like (the highlighted part is what you add to have a stronger selector):
    * html div.RadTreeView .rtMinus{ /*correct styles*/ }

    If you mean that the styles are failing CSS validation, you should not worry, because it [the validation] doesn't mean anything in this particular case: we are using CSS hacks to target only IE 6 browsers.

    Regards,
    Ivan Zhekov
    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.
Back to Top