I have a problem setting the Cell Content Style in Column 1 and Column 2 for a table. The table is always 1 row with two columns. I've set the Cell Content Style for the first column to be
When I insert the table and apply the table style, I get the first row with no styling. Every row after that has the correct styling as you can see.
What am I doing wrong?
tab2.png
You do not have the required permissions to view the files attached to this post.
I find if I click on the Insert Table icon and then specify in the dialog the dimensions and style I get styling for all rows correctly - each cell has the relevant <p> tag inserted
If I drag out a table to the dimensions I want using the little down arrow under the icon and then apply a table style to the basic table, I don't get the <p> tags.
My guess is that Flare can't add <p> tags after a basic table has been created as it can't guarantee what is in each table cell. If you've a cell with no <p> tags, you can always press return and get a <p> tag in the cell. Then you'd have to style the paragraph appropriately by hand.
If you're sure you're never going to put <p> tags inside table cells for this type of table, I wouldn't use a cell style at all and just embed the font/size characteristics in the definition of the table. That way they should always be applied when the table style is applied.
If you do use <p> tags, or sometimes use them, make sure to always click the Insert Table icon and create the table from the dialog. Or as I think has been mentioned before, create a snippet of the 'perfectly defined' table, insert the snippet and then right click it and Convert to Text. Then you've got your table ready to go. This is a good way to have a library of page elements that won't easily get overwritten or changed.
Another possible workaround could be to get a table that is formatted as you want it to be, and then create a snippet from it. Every time you want to use that table, insert the snippet, convert the snippet to text and use as normal.