<strong> </strong> doesn't work inside a table?

I have a problem with strong tags inside tables that are not bold. I have the following HTML:

here I have a script for this: http://jsfiddle.net/JxQCr/

 <table> <tbody> <tr class="row_table"> <td>2012</td> <td><strong>this should be strong</strong></td> </tr> <tr> <td>2012</td> <td>not strong</td> </tr> <tr> <td>-</td> <td>not strong</td> </tr> </tbody> </table> 
+4
source share
3 answers

You are using JSFiddle normalize.css , which adds CSS overrides loading.

Disconnect it and everything is fine

There are other normalizers that have better defaults for strong tags - for example. http://necolas.github.com/normalize.css/ - but this only proves how important it is to understand the code that you include in your project

+9
source

Are you using some kind of reset css? if so try setting the font-weight for manual

 strong{ font-weight: bold; }​ 

or

 table td strong{ font-weight: bold; }​ 
+1
source

Uncheck the "Normalized CSS" checkbox in the JSFiddle. Re-run the code, it will work.

The tool redefines many materials.

-1
source

All Articles