Difference between revisions of "Template:CSS image crop"

From Emps-World Wiki
Jump to: navigation, search
Line 2: Line 2:
 
width:32px;
 
width:32px;
 
height:32px;
 
height:32px;
overflow:hidden;
 
position:relative;
 
float:left;
 
align:left;
 
padding: 0px;
 
margin: 0px;
 
">
 
<div style="
 
position:relative;
 
top:-{{ #expr:({{{oTop}}}-1)*32}}px;
 
">
 
  
 
[[File:{{{ImageID/1000}}}.png{{!}}left{{!}}caption]]
 
[[File:{{{ImageID/1000}}}.png{{!}}left{{!}}caption]]

Revision as of 13:30, 10 May 2016

<div style=" width:32px; height:32px;

[[File:{{{ImageID/1000}}}.png|left|caption]]

</div> </div>