Tables not indenting with alignment set left

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
3lliot
Sr. Propeller Head
Posts: 105
Joined: Wed Mar 23, 2011 8:45 pm

Tables not indenting with alignment set left

Post by 3lliot »

I have a dedicated table style (implemented using a table stylesheet) with margin-left of 15mm set in the general tab.

I have nothing set for the table element in the default stylesheet css.

When I insert a new table using the dedicated table style, I get no indent. I've tried alignment default, centre, left etc. with no success.

Why doesn't the margin-left property work? Do I have to resort to using padding in the default stylesheet?

cheers
-E
3lliot
Sr. Propeller Head
Posts: 105
Joined: Wed Mar 23, 2011 8:45 pm

Re: Tables not indenting with alignment set left

Post by 3lliot »

I've noticed with table alignment set to left in the table properties, it inserts: style="margin-left: 0"

Would this override the css in the table stylesheet?
3lliot
Sr. Propeller Head
Posts: 105
Joined: Wed Mar 23, 2011 8:45 pm

Re: Tables not indenting with alignment set left

Post by 3lliot »

Solved, I think - it seems if you have previously indented a table left, and then reset the alignment to 'default', Flare does not remove the margin-left:0 from the table tag in the topic code, so you have to edit in the text editor to remove it manually.
Then the css margin works.
Post Reply