Style Window: Available character styles for images?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Matze
Sr. Propeller Head
Posts: 166
Joined: Mon Jun 20, 2016 10:35 pm

Style Window: Available character styles for images?

Post by Matze »

I´ve a lot of character styles like bold or blue or red font. In the code example below I have a DOS command character style with Courier New font.
Its crazy, I can assign this character styles to image classes:

That makes no sense, right? Because if I have to change something, I do it with capture or photoshop.... Is this a Flare bug?

Code: Select all

<img src="../../Images/1_Images_SSW/STM_Load_TabFile_SSW.png" style="width: 28px; height: 37px;" class="DOS_Command" />
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Style Window: Available character styles for images?

Post by ChoccieMuffin »

What is in your stylesheet? Do you have " .DOS_command" as a generic class, or do you have "span.DOS_command"?

If the first, then Flare is doing exactly what you've told it to do, by allowing you to apply the ".DOS_command" class to anything - that's the whole purpose of a generic class. If, on the other hand, you ONLY want to apply that bit of formatting to bits of text (spans rather than paragraphs or anything else) then your stylesheet should expressly include "span.DOS_command".

Hope that helps.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply