Difference between revisions of "User:Cactus/Sandbox:Click"
From SME Server
Jump to navigationJump to search (Adding borders for debuging purposes) |
(Dynamic line height) |
||
Line 1: | Line 1: | ||
<div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden;border 1px dashed black"> | <div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden;border 1px dashed black"> | ||
− | <div style="position: absolute; top: 0px; left: 0px; font-size: 100px;overflow: hidden; line-height: | + | <div style="position: absolute; top: 0px; left: 0px; font-size: 100px;overflow: hidden; line-height: {{{height}}}px;border 1px dashed black; z-index: 3;">[{{{link}}} ]</div> |
<div style="position: absolute; top: 0px; left: 0px; border 1px dashed black; z-index: 2;">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div> | <div style="position: absolute; top: 0px; left: 0px; border 1px dashed black; z-index: 2;">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div> | ||
</div> | </div> |