I need to use a rowspan for my table, therefore I (believe) I must use a table header. However, using a table header makes my font bold, which is unwanted. For this HTML, how would I make sure the font in my table header isn't bold? Or, if it's possible, how can I use rowspan without using a table header?
<table border="1">
<tr>
<th rowspan="2">Telephone:</th>
<td>555 77 854</td>
</tr>
<tr>
<td>555 77 855</td>
</tr>
</table>
Note: If you just need to convert to regular text, press Ctrl + B in the Find What box and then click in the Replace With box and press Ctrl + B twice. This tells Word to replace Bold with Not Bold.
The easiest way would be to remove the <strong> tag from your HTML, but if you can't do that for some reason then just add font-weight:normal to that bit of the CSS.
There are four tags you can use for bold and italic: <strong> and <b> for bold. <em> and <i> for italic.
Simply overhide the font-weight
of the th
element in CSS :
th{
font-weight: normal;
}
JSBin : http://jsbin.com/lizakatuwe/1/
You don't need table header at all, you can use rowspan
with td
too. To make it not bold, override the font-weight
in css to normal
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With