Template talk:Keyboard: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
m (Top and bottom margins inside <pre> tags removed globally since 2021/09/15)
Tag: Blanking
 
Line 1: Line 1:
== Problems ==


=== Double margin at top and bottom ===
This template is doing a <nowiki><pre></nowiki> automatically (with his own margin-top:12px; margin-bottom:12px;)<br>
If we call the template with another <nowiki><pre> or <syntaxhighlight></nowiki> (with his own margin-top:12px; margin-bottom:12px;)... it resuts in a double vertical margin of around 24px<br>
There are a bunch of wiki pages using this template affected by this double-margin problem
<div style="float:left; width:100%; margin-top:2px; margin-bottom:2px; clear:both; border:1px solid #e0e0e0;">
<div style="float:left; padding-left:2px; padding-right:2px;">[[image:64px-Keyboard.png|x64px|link=|Type This]]</div>{{#tag:pre|{{#tag:pre|{{#tag:pre|{{#tag:pre|{{#tag:pre|{{#tag:pre|xxxxxxxxxxxxxxxxxxxxx|style="margin:0px; padding:0px; min-height:inherit; border:none; outline:1px solid #e0e0e0;"}}|style="margin:0px; padding:0px; min-height:inherit; border:none; outline:1px solid #e0e0e0;"}}|style="margin:0px; padding:0px; min-height:inherit; border:none; outline:1px solid #e0e0e0;"}}|style="margin:0px; padding:0px; min-height:inherit; border:none; outline:1px solid #e0e0e0;"}}|style="margin:0px; padding:0px; min-height:inherit; border:none; outline:1px solid #e0e0e0;"}}|style="min-height:64px; margin:0px; padding:0px; border:none; border-left:1px solid #e0e0e0;"}}
</div>

Latest revision as of 17:27, 15 September 2021