tags:

views:

108

answers:

4

I have an ASP.NET page where I need to figure out where the style for a textbox is coming from. There are several style sheets defined for the page and I want to be able to use some sort of tool / editor that will tell me what styles were used and from what file(s) to render the textbox.

Thank you.

+12  A: 

Use Firefox with Firebug and inspect the Text-box. Firebug is the most useful tool to do exactly that.

bchhun
+4  A: 

In IE you can use the IE Developer Toolbar. But I'm a fan of FireBug for FireFox.

From comments: Bernard Chhun recommended FireBug Lite as an alternative to IE Dev Toolbar. It also works for Opera and Safari too.

DavGarcia
IE Developer Toolbar is still the best dev tool with debugbar to inspect IE though. and there's always Firebug Lite but it's not quite like the original firebug :)
bchhun
FireBug Lite is quite neat (support for opera and safari too!) I hadn't heard of that, I'll add it to the response.
DavGarcia
A: 

Most browsers have developer tools (build-in or as extension) that can show you the cascading order of the applied rules.

For Firefox there is the Firebug extension, Safari (WebKit) has Web Inspector, Opera has Dragonfly and for the Internet Explorer there is the Internet Explorer Developer Toolbar.

Gumbo
A: 

The web developer toolbar for Firefox has CSS and element inspectors which I find very useful.

You can also modify the CSS in the browser so you can tweak layout without going back to your IDE

Neil Aitken