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;
 +
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=" position:relative; top:-Expression error: Unrecognised punctuation character "{".px; ">

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

</div>