Forum:Reference numbers bad for the layout

Hello, for my Wikia I make a lot of use of ref & /ref. The numbers that replace them however, create an extra space between the line of the ref and the line above it. Have a look here to see what I mean.

Is there any way to fix this? I noticed Wikipedia itself doesn't have this problem. --Zantam03 15:54, May 21, 2010 (UTC)


 * Has it been fixed as it looks 'normal' to me just now. I had problems with some templates caing a line jump after an inline template and it was due to an error i had made modifing one of the sub templates. I had inseted some comment text in the templae which caused a 'invisible' space to force new line to be generated when the code was processed. - BulldozerD11 16:32, May 21, 2010 (UTC)


 * No it hasn't been fixed and it doesn't look normal to me. Maybe it depends on the browser? I use Google Chrome --Zantam03 16:42, May 21, 2010 (UTC)


 * Have a look at this:[[file:Example ref.jpg|100px]] If you count the red pixels you'll see the difference. --Zantam03 16:48, May 21, 2010 (UTC)


 * Apologies Zamtam I misunderstood what you were saying. I thought it was forcing a new line which was a problem i experienced with a different template. I Can not say I have noticed a 1 pixel diff on my wiki between line spacings. I use the Refs template quite abit. I'm on firefox. The gap may be sightly less on wikipedia above the [1] but without getting a screen shot & zooming in cannot tell. - BulldozerD11 19:11, May 21, 2010 (UTC)


 * I'm sure it's easy to fix using CSS.
 * Try with the "line-height: xx px;" style. — TulipVorlax 00:15, May 22, 2010 (UTC)


 * Many browsers automatically allocate more height to lines that contain superscript or subscript characters. References are superscript, so the line has slightly increased height. —Lowellian (reply) 01:26, May 22, 2010 (UTC)


 * One way to try to make the spacing more consistent is to make the superscript  text smaller, thus shifting the line spacing less.
 * Here are two examples below, one with the normal  and the other with a   around the  :

Blah blah blah blah blah blah blah blah blah blah blah blah blah.Blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah.

Blah blah blah blah blah blah blah blah blah blah blah blah blah.Blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah. in your Common.css or Monaco.css, but I'm not sure if that will work. -- Fandyllic  (talk &middot; contr) 3:46 PM PST 26 May 2010