Registered Trademarks Causing Alignment Issues

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
dcole
Propeller Head
Posts: 25
Joined: Wed Feb 20, 2013 6:54 am

Registered Trademarks Causing Alignment Issues

Post by dcole »

I am hoping someone has a style suggestion for fixing the following alignment issue with Registered Trademarks:
Alignment.png
We routinely use a "Note - " component, created using an autonumber. When a registered trademark symbol is inserted, the corresponding line of text is pushed down and out of alignment. I'm guessing this is caused due to the height of the trademark going above the allowable height for the line, but I am unsure how to correct this problem. Any help would be appreciated
You do not have the required permissions to view the files attached to this post.
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: Registered Trademarks Causing Alignment Issues

Post by Msquared »

Try setting the line-height attribute on the style that is causing the trouble. This may fix it. You can experiment until you find the smallest number that works.
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Registered Trademarks Causing Alignment Issues

Post by SteveS »

This happens because the symbol is in superscript. If you notice the top of the symbol is inline with the tope of 'note'. By default vertical-align is set to 'super'. Provided your symbol is in a significantly smaller font size you might want to try setting it to text-top.
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Post Reply