Styles not updated after build

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
bmcclintock
Propeller Head
Posts: 87
Joined: Mon Jan 12, 2009 12:48 pm

Styles not updated after build

Post by bmcclintock »

I have a relatively small project (but fixin' to get a whole lot bigger!). I've dropped a table stylesheet, and went back and styled all my tables with my main stylesheet. Looks great before I build. After the build though, the tab;es in the topics that are not in the TOC but linked to from a main topic, do not display the updated table styles (not from a Table Stylesheet). Any idea what I'm doing wrong?

Thanks,

Barbara
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Styles not updated after build

Post by LTinker68 »

Double-check that when you modified the styles in your main stylesheet that you were in the correct medium. You might have been in the print medium, for instance, when you would probably want the styles in the default medium, with maybe a couple of differences in the print medium. For instance, you might want the <th> tag for online output to use a font family that includes Verdana, Arial, and a few others, but your print output you might want the <th> to use a different font, like Garamond. Or you might want the table tag to have width set to 100% for online output but 5 inches for print output.

You didn't mention what output you were building, but double-check that you defined the table styles in the correct medium of the main stylesheet.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
bmcclintock
Propeller Head
Posts: 87
Joined: Mon Jan 12, 2009 12:48 pm

Re: Styles not updated after build

Post by bmcclintock »

Thank you for your response and I'm sorry. I'm building WebHelp. The medium for all topics is "default." All tables use the same stylesheet. The topics look correct in the Editor before building. But not after the build.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Styles not updated after build

Post by LTinker68 »

You said you dropped the table stylesheet, but did you go into each of the tables and set their properties to not point to a table stylesheet? I'm not sure that deleting a table stylesheet will automatically reset a table to using the default styles, so it may still be looking for the td classes associated with the table stylesheet instead of using the default td tags.
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: Styles not updated after build

Post by KevinDAmery »

LTinker68 wrote:You said you dropped the table stylesheet, but did you go into each of the tables and set their properties to not point to a table stylesheet? I'm not sure that deleting a table stylesheet will automatically reset a table to using the default styles, so it may still be looking for the td classes associated with the table stylesheet instead of using the default td tags.
Plus remember there's that long standing bug where Flare insert inline code when you use a table style. That will over-ride anything in the stylesheet - I would take a look at the affected topics in the text editor to ensure there isn't any style code in the <table> tags.
Until next time....
Image
Kevin Amery
Certified MAD for Flare
bmcclintock
Propeller Head
Posts: 87
Joined: Mon Jan 12, 2009 12:48 pm

Re: Styles not updated after build

Post by bmcclintock »

Thank you. Well, even though I went to every table and applied the topic stylesheet style (th, td, etc.), I did not change the "properties" for each table. So it was still looking for the Table Stylesheet. Problem Resolved.
Post Reply