pencilCake
pencilCake

Reputation: 53223

How can I learn the CSS file path from which an html element is using its styles?

When I select an element on a web page with FireBug's selector, I can easiy see what stye settings it uses.

But how can I learn the source css file's path as well?

Thanks

Upvotes: 1

Views: 602

Answers (3)

Bart
Bart

Reputation: 27195

Chrome's inspector allows you to see which CSS rules are matched in an element (and the source css file). I don't know about firebug though.

Upvotes: 0

Nicholas Murray
Nicholas Murray

Reputation: 13533

You can see this information in Firebug as well as the line number. Place your mouse over the css file reference and the tool tip will give you further details. enter image description here

Upvotes: 3

Guffa
Guffa

Reputation: 700182

On the right of each rule the file name of the CSS file is shown. Point at it, and the tooltip shows you the complete request URL.

Upvotes: 2

Related Questions