Hanging heading

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Kim in GA
Propeller Head
Posts: 14
Joined: Fri Mar 08, 2019 12:12 pm

Hanging heading

Post by Kim in GA »

I'm having trouble figuring out where to fix the headings in my stylesheet.

H1 starts with "Chapter" (I can't see where that's controlled - would prefer the term "Section") and the word "Chapter" hangs into the margin and off of the page.
Header in margin.PNG
Autonumber seems fine (and I don't see "Chapter" added)
header autonumber.PNG
Changing margin values in the box hasn't made any difference.
headerbox.PNG
Suggestions gratefully welcomed.
You do not have the required permissions to view the files attached to this post.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Hanging heading

Post by ChoccieMuffin »

What does the CSS for h1.ChapterTitle look like in a text editor in whatever medium you're using for your desired output?
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
Kim in GA
Propeller Head
Posts: 14
Joined: Fri Mar 08, 2019 12:12 pm

Re: Hanging heading

Post by Kim in GA »

Thank you for looking!
Wow - just figured out how to do this - the answer is obvious, looking at it like this (-7.7pc) - but I can't find this at all in the style sheet

h1.ChapterTitle
{
font-size: 24pt;
mc-auto-number-format: 'Chapter {chapnum}: ';
mc-auto-number-offset: 0px;
mc-auto-number-class: ChapterNumber;
margin-left: 0pc;
text-indent: -7.7pc;
margin-bottom: 60pt;
}

OK - for anybody else with this problem. There were two identical entries in my .css and I found that out by right-clicking on the style sheet, choosing to open it in Internal Text Browser, searching on Chapter (found both entries, that way), and corrected the second entry. Will remove one at some point, but right now, I've just got to publish or perish ;-)
Post Reply