Difference between revisions of "Template:CSS image crop"
From Emps-World Wiki
Line 1: | Line 1: | ||
− | <includeonly><code> | + | <pre><includeonly><code> |
<div style=" | <div style=" | ||
width:32px; | width:32px; |
Revision as of 19:03, 20 August 2015
<includeonly><code> <div style=" width:32px; height:32px; overflow:hidden; position:relative; float:left; padding: 0px; margin: 0px; "> <div style=" position:relative; top:-{{ #expr:({{{oTop}}}-1)*32 }}px; "> [[File:{{{ImageID/1000}}}.png|left|caption]] </div> </div></code> </includeonly>