user4031049
user4031049

Reputation:

Css detect element font

I am using several fonts on my website , and i don't think all the fonts are loading properly . is there a way to check which font an element is having as style perhaps a good plug in anyone can recommend ?

I know there are plenty of debugging tools but i am searching for one that gives you all the given styles of an element not just the css code relevant to it .

Upvotes: 0

Views: 52

Answers (2)

Candlejack
Candlejack

Reputation: 445

There are several ways to check this, but one example is to use the developer tools in Chrome. If you view the 'Styles' applied to your text there should be a font-family rule.

Uncheck / check this rule to see if your text changes. If you can see no visual change on the page, then this rule is not applying any meaningful changes to your text - ie. most likely your font is not working.

Upvotes: 1

Maroun Melhem
Maroun Melhem

Reputation: 4250

you can use firebug for firefox , it has a really useful way to inspect html elements ( or even scripts ) . what you are asking for is present in the computed styling section on the right once you click on the specified element after inspecting using firebug .

you can find it at : https://getfirebug.com/

Upvotes: 2

Related Questions