Jump to content

Template:CSS image crop: Difference between revisions

From Emps-World Wiki
Mary (talk | contribs)
No edit summary
Mary (talk | contribs)
No edit summary
Line 1: Line 1:
<div style="width:32px;height:32px;overflow:hidden;position:relative;float:left">
<div style="width:32px;height:32px;overflow:hidden;position:relative;float:left">
<div style="position:relative;top:-{{#expr:({{{oTop}}}-1)*32 }}px;left:-{{{oLeft}}}px">
<div style="position:relative;top:-{{#expr:({{{oTop}}}-1)*32 }}px;left:-{{{oLeft}}}px">
[[File:{{{ImageID/1000}}}.png|left|caption]]
http://emps-world.net/img/itemicons/individual/1137.png
</div>
</div>
</div>
</div>

Revision as of 11:44, 25 June 2015

<div style="position:relative;top:-Expression error: Unrecognised punctuation character "{".px;left:-{{{oLeft}}}px"> 1137.png