Including text in style tag in a dropdown
Including text in style tag in a dropdown
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?
Re: Including text in style tag in a dropdown
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.
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}';
}Re: Including text in style tag in a dropdown
I will give it a try. Thanks!