Madcap IMG popups and attribute selectors

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
AlanKearns
Sr. Propeller Head
Posts: 103
Joined: Thu Sep 11, 2014 2:06 am

Madcap IMG popups and attribute selectors

Post by AlanKearns »

Because I can't get class references into the Markdown sources I'm being given, I have to style screenshots by getting the developers to suffix the filenames like this: <img src="001a_homepage.png#constrain">, then in the CSS, use

Code: Select all

 img[src$="constrain"]
{
max-width: 80%;
}
This works for massive screenshots, but:

Code: Select all

{
	mc-thumbnail: popup;
	mc-thumbnail-max-width: 400px;
}
would be even better, but doesn't - Does anyone know why?

Thanks in advance
Post Reply