Table Formatting Over-riding Stylesheet

This forum is for all Flare issues not related to any of the other categories.
Post Reply
pcalnan
Propeller Head
Posts: 67
Joined: Tue Jul 17, 2007 8:30 am
Location: Ottawa, Ontario
Contact:

Table Formatting Over-riding Stylesheet

Post by pcalnan »

Please let me know if this has been addressed in another thread.

I'm having an issue wherein Flare seems to apply "local formatting" to my tables that over-rides the table stylesheet.

Here's my problem...

1. I created a new TableStyle called "notebox". This is in the form of a notebox.css file located in Content/Resources/TableStyles

2. Once I was satisfied with the settings for my new table style, I applied it to a table. All seemed well except that some of the formatting wasn't being applied properly. Specifically, table margins.

3. To trouble shoot this issue, I opened the text editor and found that my code read as follows:

Code: Select all

<table class="TableStyle_notebox" style="margin-left: 0;margin-right: auto;caption-side: top;mc-table-style: url('Resources/TableStyles/notebox.css');" cellspacing="0">
4. Hmmm, I thinks to myself (I do that often)... all that "style=" stuff doesn't look good. So I manually edited the code to read:

Code: Select all

<table class="TableStyle_notebox">
5. Voila! My style sheet was applied and all was well with the world... or so I thought. After adding more content to the topic, I discovered that Flare had re-applied all that "style=" code and my table was no longer looking the way I wanted it to.

Whazzup?
Patrick Calnan
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Table Formatting Over-riding Stylesheet

Post by LTinker68 »

Yep, it's been mentioned numerous times. Here's the latest thread --> http://forums.madcapsoftware.com/viewto ... f=6&t=9367
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Table Formatting Over-riding Stylesheet

Post by KevinDAmery »

Yep, loooonnnnggg standing issue. Whenever you use a table style, Flare in its infinite wisdom inserts all this inline style code. Removing it won't hurt anything (and in my experience helps) but if you do anything with the table stylesheet it will reapply that code. (Highly annoying, if you ask me - or even if you don't :-P )

If you don't think Flare should do this, please please PLEASE submit a bug report.

http://www.madcapsoftware.com/bugs/submit.aspx
Until next time....
Image
Kevin Amery
Certified MAD for Flare
Post Reply