Reputation: 86097
I've got the following bit of text on a website:
which, when I select in Dev Tools and filter by font-family, gives me the following:
and, further down:
Why are all the font-family attributes greyed out and how is this piece of text getting its font?
==== UPDATE
Just to clarify, I don't see a font
attribute being set either. Shouldn't this element inherit from body
? If so, why don't I see that in Dev Tools?
==== UPDATE 2
Looking in the Computed tab I see at the top:
and at the bottom:
I assume the font is Courier 13. But:
what is the Show inherited properties checkbox?
what are all the lines below "font-family: monospaced, serif"?
and how is that Courier 13 font being chosen (from one of those Style sheet entries in point 2 above)?
Upvotes: 2
Views: 1093
Reputation: 14862
In dev tools there is computed
tab. This will show you the currently implemented values for all properties on the currently selected element.
You can scroll down in this tab to find what font-family
being used. As for why it is not showing what font-family you are using in the filters, dunno.
Upvotes: 4
Reputation: 5214
maybe you have a font: attribute somewhere? it may contain the font family.
font: 15px arial, sans-serif;
Upvotes: 1