View CSS Style sheets in IE11 F12 Developer tools

In previous versions of IE developer tools you were able to open the source of CSS files in the debugger.

This was of most use to verify that they had actually been downloaded / referenced correctly, ie if the request for a stylesheet returned a 404 error then thats the route cause of my styles not being applied.

However as of IE 11 the debugger no longer lists CSS files, so I can't use that to view their source and verify them.

I know that I can do this through the profiler - but that requires starting a profile trace and reloading the page, which is not exactly conducive to easy work flow. (Not to the frequent lock ups the F12 tools seem to experience on any of the profile tabs is used)

Is there still away through the dev tools to see the source of CSS files?


I don't believe so. There is a Connect issue reporting this and MS says they have it on their backlog for a "potential" future release. IE11: CSS tab missing in new F12 Developer Tools

Update: Microsoft has announced via the UserVoice site for Internet Explorer that they are planning on bringing it back.

The CSS tab is missing, and the debugger does not list CSS files either.

However, If you find an element in the dom explorer with styles applied from a css file, you can then click on the file name and open the entire file.

I was surprised to discover this today, and resorted to using the Chrome F12 tool - Under the Resources Tab in the left hand panel you can expand Frames to access Images, Scripts and Stylesheets for your page - CSS are in the last of these of course.

It goes without saying that this only helps if you have access to Chrome and the site supports it.

In developer tools, go to the Network tab. Click the arrow (when you hover over it, it will say "Enable network traffic capturing"). It will turn into a square to indicate that it is capturing network traffic. Refresh the page. Click type to sort by type and look for "text/css". Double click the file. Click "Response body". You will see the CSS contents there.

To manually add styles, go to the DOM Explorer. Click an element in your webpage and it should bring you to that part of the webpage. You can add styles to the elements in the DOM Explorer or in the left window, you will see "Inline style" (if there are no CSS classes) or you'll see "Inline style" as well as the CSS class and its details. You can click in there to make changes.

Need Your Help

How to disable vim's indentation of switch case?

c indentation vim

I'm currently fighting with Vim, I can't seem to make the indentation options do what I want.

Why is "using namespace std;" considered bad practice?

c++ namespaces std using-directives c++-faq

I've been told by others that writing using namespace std; in code is wrong, and that I should use std::cout and std::cin directly instead.