cross reference text align is not working

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Jeff Lowe
Propeller Head
Posts: 11
Joined: Tue Jun 27, 2006 1:55 pm
Location: Glendora, CA

cross reference text align is not working

Post by Jeff Lowe »

Hi,
I am using a MadCap | xref style with text-align set to center. The cross reference text stays along the left margin. The code vrom the css file is below. I would appreciate any suggestions.

{
text-decoration: none;
text-align: center;
color: #b0c4de;
mc-format: '{color blue}{u}Top of {paratext}{/u}{/color}';
}
whunter
Sr. Propeller Head
Posts: 429
Joined: Thu Mar 12, 2009 4:49 pm
Location: Portland, OR

Re: cross reference text align is not working

Post by whunter »

I'm not sure I have the right terminology for this, but I believe x-refs work as an in-line tag, not as an element like <p>, <h1>, <li>, whatever. So how the text is aligned in an x-ref is going to depend on the container it's in.

I could be totally wrong though.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: cross reference text align is not working

Post by LTinker68 »

Nope, you're right -- it depends on how its container tag is set up that determines how the xref is aligned. So create a class of paragraph that has the text centered, apply that class to the paragraph, then insert the xref and the xref should be centered in the output.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Jeff Lowe
Propeller Head
Posts: 11
Joined: Tue Jun 27, 2006 1:55 pm
Location: Glendora, CA

Re: cross reference text align is not working

Post by Jeff Lowe »

Thanks.
Post Reply