views:

38

answers:

2

Hi,

I have this line in my code

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

but the label is showed normal.

If i go to the Chrome Inspector I can see this:

font-weight: normal !important;

If i change font-weight in the inspector the weight of the font is modified normally.

Any idea?

Regards

Javi

+6  A: 

Looks like something else is overriding your bold style, hence the !important tag. Chrome Inspector should tell you where the font-weight: normal !important; is being applied. You can try putting font-weight: bold !important; inside your style attribute to override this override. :-)

Jez
Thanks! works..but for the rest of the browsers?
The solution given by Jez should already work on any browser - the problem is not specifically Chrome. The best thing is probably to find out what's applying the `font-weight: normal !important;` in the first place, and see if you can remove it.
Matt Sach
A: 

Hi!

have you take a look on the top right corner of your active element in the inspector 1?

You can find which stylesheet is overwriting you code

Patrick Ferreira