Template:Su: Difference between revisions

From Vigyanwiki
Template>Verdy p
m (increase total min-height (similar to <sup>) and overflow:visible for the exponent (to avoid clipping of exponent on overflow, when moving up the 0.8em exponent))
Template>Verdy p
m (increase total min-height (similar to <sup>) and overflow:visible for the exponent (to avoid clipping of exponent on overflow, when moving up the 0.8em exponent))
Line 4: Line 4:
PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS
PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS
Normally, the code for the template is included, but this template is too complex to do that.
Normally, the code for the template is included, but this template is too complex to do that.
--></noinclude><includeonly>{{#if:{{{p|}}}|{{#if:{{{b|}}}|<span style="display:inline-block;display:-moz-inline-box;-moz-box-orient:vertical;min-height:1.4em;vertical-align:bottom;{{#ifeq:{{{w|}}}|f|font-family:monospace;font-size:80%;|font-size:80%;}}line-height:1;/*Horizontal positioning, affects IE&FF*/margin-bottom:-0.4em;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}"><span style="display:block;min-height:1em;/*Horizontal positioning, affects IE only*/margin-top:-1.4em;overflow:visible">{{{p|}}}</span><span style="display:block;min-height:1em">{{{b|}}}</span></span>|{{sup|{{{p|}}}}}}}|{{sub|{{{b|}}}}}}}</includeonly>
--></noinclude><includeonly>{{#if:{{{p|}}}|{{#if:{{{b|}}}|<span style="display:inline-block;display:-moz-inline-box;-moz-box-orient:vertical;min-height:1em;vertical-align:bottom;{{#ifeq:{{{w|}}}|f|font-family:monospace;font-size:80%;|font-size:80%;}}line-height:1;/*Horizontal positioning, affects IE&FF*/margin-bottom:-0.4em;text-align:{{#switch:{{{a|}}}|r=right|c=center|left}}"><span style="display:block;min-height:1em;/*Horizontal positioning, affects IE only*/margin-top:-1.4em;overflow:visible">{{{p|}}}</span><span style="display:block;min-height:1em">{{{b|}}}</span></span>|{{sup|{{{p|}}}}}}}|{{sub|{{{b|}}}}}}}</includeonly>

Revision as of 07:14, 13 March 2010

Template documentation