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

how to locate and edit the css in webresource.axd

1 Answer 677 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 10 Dec 2013, 05:08 PM
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

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 13 Dec 2013, 08:40 AM
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.
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or