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}';
}
cross reference text align is not working
Re: cross reference text align is not working
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.
I could be totally wrong though.
Re: cross reference text align is not working
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.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.