Including text in style tag in a dropdown

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
hljanas
Propeller Head
Posts: 29
Joined: Mon Aug 27, 2012 8:38 am

Including text in style tag in a dropdown

Post by hljanas »

I have created a p. tag style that includes formatting. The formatting included in the tag is :{b}More Information:{/b}:. Typically, there will be steps associated with this tag and I would like to create a dropdown. When I create the dropdown, I am unable to include the "{b}More Information:{/b}" formatting. It only includes the text that I added. I tried the Shift+ Enter method on a whim, but when I create my list, the entire tag becomes a list (as I expected). In the meantime, I created a toggler link. Is there any way to include the formatting in the dropdown head text?
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Including text in style tag in a dropdown

Post by NorthEast »

The style you defined was for a paragraph (p) tag, so you can't apply it to the the tag MadCap|dropDownHead.
Also, autonumber formatting doesn't seem to work well in most MadCap| styles, so you'll probably need a bit of a hack to get it working.

Adding this CSS should work for WebHelp, where .test is a class you apply to the MadCap|dropDownHead tag in the topic.

Code: Select all

MadCap|dropDownHead.test
{
	mc-auto-number-format: '{b}More Information:{/b}';
}

div.MCDropDownHead_test_0
{
	mc-auto-number-format: '{b}More Information:{/b}';
}
hljanas
Propeller Head
Posts: 29
Joined: Mon Aug 27, 2012 8:38 am

Re: Including text in style tag in a dropdown

Post by hljanas »

I will give it a try. Thanks!
Post Reply