Difference between revisions of "User:Cactus/Sandbox:Click"
From SME Server
Jump to navigationJump to search (Three no break spaces again, without width and height props) |
(Dynamic text height) |
||
Line 1: | Line 1: | ||
<div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden;"> | <div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden;"> | ||
− | <div style="position: absolute; top: 0px; left: 0px; font-size: | + | <div style="position: absolute; top: 0px; left: 0px; font-size: {{{height}}}px;overflow: hidden; line-height: 100px; z-index: 3;">[{{{link}}} ]</div> |
<div style="position: absolute; top: 0px; left: 0px; z-index: 2;">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div> | <div style="position: absolute; top: 0px; left: 0px; z-index: 2;">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div> | ||
</div> | </div> |