Formatting the letters in a lettered ordered list

This forum is for all Flare issues related to styles, stylesheets and XML.

Formatting the letters in a lettered ordered list

Postby CJTA on Fri Aug 23, 2019 8:59 am

Hi Flare pros!

I can't find/figure out how to format JUST THE LETTERS of my lettered ordered list (<ol>).

For example:
A. Sample text
B. Sample text
C. Sample text

So I want to add colour and text formatting just to the actual letters, not to the "Sample text" after each letter.

Thoughts?
Thank you!
CJTA
CJTA
Jr. Propeller Head
 
Posts: 2
Joined: Wed Aug 21, 2019 2:10 pm

Re: Formatting the letters in a lettered ordered list

Postby devjoe on Mon Aug 26, 2019 1:43 pm

Should be the same as formatting the labels on any other ordered list. You have two options.
  • Use Flare autonumbers instead of the HTML default labeling, and you can set a span style which gets applied to the autonumber.
  • Always use paragraph tags in your list items, and use complex selectors on the OL LI tag to define the style for the letters, and on OL LI P for the regular text (overriding anything that you have set on the letters that you don't want on the regular text).
devjoe
Sr. Propeller Head
 
Posts: 308
Joined: Thu Jan 23, 2014 1:43 pm

Re: Formatting the letters in a lettered ordered list

Postby Nita Beck on Mon Aug 26, 2019 2:05 pm

If you are producing PDF output exclusively, you could set up a custom list format, described here: https://help.madcapsoftware.com/flare2019/Content/Flare/Lists/Creating-Custom-List-Formats.htm.

This technique is not supported for online outputs.
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 3286
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 3 guests