"ढाँचा:Userbox" का संशोधनहरू बिचको अन्तर
Content deleted Content added
box-sizing tweak needs a little testing, after all. undoing for now |
userbox table was actually 240px wide due to borders, and div was explicitly set to 238px with box-sizing:border-box. this should fix it. (btw shouldn't these styles be defined in common.css rather than inline?) |
||
पङ्क्ति १:
<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; width:
{| cellspacing="0" style=" width:
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|
! style="width:{{{logo-width|{{{id-w|45}}}}}}px; height:{{{logo-height|{{{id-h|45}}}}}}px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:{{{id-a|center}}}; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|0 1px 0 0}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; vertical-align: middle; {{{logo-other-param|{{{id-op|}}}}}}" {{#if:{{{id-class|}}}|class="{{{id-class}}}"}} {{!}} {{{logo|{{{3|{{{id|id}}}}}}}}}
|