Autonumbers Outside of Background Color

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
mpirovano
Jr. Propeller Head
Posts: 1
Joined: Thu Jul 12, 2018 7:27 am

Autonumbers Outside of Background Color

Post by mpirovano »

I'm trying to create section autonumbers which lie outside of the section title. The section title has a background color but I'm trying to get the autonumber to lie outside of that background color. I'm trying to get the text of the section title to align with the paragraph text and get the background color to start just a little to the left of the paragraph text. See the image attached for an example. Does anyone know how to do this?
You do not have the required permissions to view the files attached to this post.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Autonumbers Outside of Background Color

Post by ChoccieMuffin »

Haven't done it myself, but there are a couple of blog posts that might answer your question, particularly the second one. Would be worth a try.

https://www.madcapsoftware.com/blog/201 ... CapInsider

https://www.madcapsoftware.com/blog/201 ... CapInsider

And welcome to the forums.
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
devjoe
Sr. Propeller Head
Posts: 337
Joined: Thu Jan 23, 2014 1:43 pm

Re: Autonumbers Outside of Background Color

Post by devjoe »

What you need is to set a Span Class (mc-autonumber-class) in the definition of the autonumber style. Then you can define that span class (span.xxxxx) to have white background and colored text in contrast to the text of the autonumbered heading element.
Post Reply