Editing Template talk:Keyboard
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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> |