Difference between revisions of "Template:CSS image crop"
From Emps-World Wiki
Line 15: | Line 15: | ||
top:-{{ #expr:({{{oTop}}}-1)*32 }}px; | top:-{{ #expr:({{{oTop}}}-1)*32 }}px; | ||
"> | "> | ||
− | + | </div> | |
[[File:{{{ImageID/1000}}}.png|left|caption]] | [[File:{{{ImageID/1000}}}.png|left|caption]] | ||
− | + | ||
</div><noinclude>!</noinclude> | </div><noinclude>!</noinclude> | ||
</onlyinclude></pre> | </onlyinclude></pre> |
Revision as of 20:37, 20 August 2015
Please don't mess with this page unless your name is Mary!
<onlyinclude> <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; "> </div> [[File:{{{ImageID/1000}}}.png|left|caption]] </div><noinclude>!</noinclude> </onlyinclude>