I have table f.e. 5x4.
I want to create section inside such table and make its own color.
So the first two rows and 5 cells would form the section banded by green borders.
The other part would banded by red color.
Is that available?
Community moderators have prevented the ability to post new answers.
Hi @Алексей Пашнин,
You can add styles in the Source Editor. For example, here's a table with a green row and a red row:
<table>
<colgroup> <col/> <col/> <col/> <col/> <col/> </colgroup>
<tbody>
<tr>
<th scope="col">
<br/>
</th>
<th scope="col">
<br/>
</th>
<th scope="col">
<br/>
</th>
</tr>
<tr style="border: solid green;">
<td>
<br/>
</td>
<td>
<br/>
</td>
<td>
<br/>
</td>
</tr>
<tr style="border: solid red;">
<td>
<br/>
</td>
<td>
<br/>
</td>
<td>
<br/>
</td>
</tr>
</tbody>
</table>
style="border: solid green;" will add a border to a row, so the table will look like this:
If you want to add borders to cell, add style="border: solid green;" to the tag <td>, also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.