Template:CSS image crop: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="width:32px;height:32px;overflow:hidden;float:left;"> | <div style=" | ||
<div style="position:relative;top:-{{#expr:({{{oTop}}}-1)*32 }}px;"> | width:32px; | ||
height:32px; | |||
overflow:hidden; | |||
float:left; | |||
"> | |||
<div style=" | |||
position:relative; | |||
clear:left; | |||
top:-{{#expr:({{{oTop}}}-1)*32 }}px; | |||
"> | |||
[[File:{{{ImageID/1000}}}.png|left|caption]] | [[File:{{{ImageID/1000}}}.png|left|caption]] | ||
</div> | </div> | ||
</div> | </div> |