Font weight does not work for shortcuts in Chrome

I have this line in my code:

<label style="font-weight: bold" for="sedii18n_codice_paese_indirizzo">Codice paese indirizzo</label> 

but the shortcut is displayed normally.

If I go to Chrome Inspector, I can see this:

 font-weight: normal !important; 

If I change the font-weight in the inspector, the font weight changes normally.

+4
source share
2 answers

It seems like something else is redefining your bold style, hence the important tag. The Chrome inspector should tell you where font-weight: normal !important; . You can try putting font-weight: bold !important; into your style attribute to override this override .:-)

+11
source

You look in the upper right corner of your active element in the inspector ?

You can find which stylesheet is rewriting code

+2
source

All Articles