This goes back on what I suggested earlier but it should resolve your issue.
CREATING A TABLE STYLE
- Open you CSS file in the CSS editor.
- Right click on Table Styles and select New.
- Enter a name in Class, ignore Pseudo Class.
- Go to the Border settings.
- Set the type of border (usually solid), the colour and the width.
- Not how the preview is showing those settings around the outside of the table only.
- Now do the same in the Cell settings. Note that the preview will show two lines between cells.
- Go to the General settings and select Border Collapse > Collapse.
- At the top of the Properties you will see that all the above settings have been applied to Whole Table.
- Use the dropdown to create row and column specific settings.
- When done, click Save.
USING THE STYLE
At this stage I suggest you create a folder and topic called Scratchpad or suchlike.
- On a fresh line and not within another table, go to the toolbar and insert a table with the required number of rows and columns.
- In Properties > Styles select that table.
It should appear as you want. You can apply styles within the cells and I prefer that approach rather than defining text in the table editor.
TABLES WITHIN A TABLE
Within another table, the styles may go wrong through inheritance. Identify the value that is wrong and add !important.
For example, if the colour does not stick look at the CSS in source view, edit it as below.
From
border-color: #FF0000;
To
border-color: #FF0000 !important;