Template:Su: Difference between revisions

From Vigyanwiki
Template>SkyLined
m (+height to fix alignment issues)
Template>SkyLined
(Fixed issue where alignment was off in IE if the line contained larger text, eg <BIG>X<BIG>X{{su|p=x|b=x}} would render incorrect)
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><SPAN style="{{#ifeq: {{{w|}}}|f| font: 80% monospace; |font-size:80%; }} line-height:0.8em; display:-moz-inline-box; -moz-box-orient:vertical; display:inline-block; position:relative; height:1em; top:-0.8em; margin-top:0.4em; padding-bottom:0.4em; *vertical-align: bottom; {{#ifeq: {{{a|}}}|r| text-align:right}}"><SPAN style="display:block">{{{p|&nbsp;}}}</SPAN><SPAN style="display:block">{{{b|&nbsp;}}}</SPAN></SPAN></includeonly>
--></noinclude><includeonly><SPAN style="{{#ifeq: {{{w|}}}|f| font: 80% monospace; |font-size:80%; }} display:-moz-inline-box; -moz-box-orient:vertical; display:inline-block; padding-top:0.4em; padding-bottom:0.4em; vertical-align: bottom; height:1em; {{#ifeq: {{{a|}}}|r| text-align:right}}"><SPAN style="display:block; margin-top:-0.8em;">{{{p|&nbsp;}}}</SPAN><SPAN style="display:block; margin-top:-0.8em;">{{{b|&nbsp;}}}</SPAN></SPAN></includeonly>

Revision as of 14:41, 15 April 2008

Template documentation