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?
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.
It looks like you're new here. Sign in or register to get started.