Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<strong></strong> does not work inside table?

I have a problem with strong tags inside of tables not being bolded. I have the following html code:

Here I have a fiddle for that: 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>
like image 833
Jurudocs Avatar asked Jan 16 '23 03:01

Jurudocs


1 Answers

You're using JSFiddle's normalize.css option which adds a load of CSS overrides.

Turn it off and everything's fine

There are other normalisers which have better defaults for strong tags - e.g. http://necolas.github.com/normalize.css/ - but this only proves how important it is to understand the code you're including in your project

like image 90
Gareth Avatar answered Jan 24 '23 00:01

Gareth