Difference between revisions of "User:Cactus/Sandbox:Click"
From SME Server
Jump to navigationJump to search (Dynamic text height) |
m (Div in a link perhaps?) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden;"> | + | <div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden;border 1px dashed black"> |
− | <div style="position: absolute; top: 0px; left: 0px; font-size: {{{height}}}px; | + | [{{{link}}} <div style="position: absolute; top: 0px; left: 0px; font-size: 100px;overflow: hidden; line-height: {{{height}}}px;border 1px dashed black; z-index: 3;"> </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; border 1px dashed black; z-index: 2;">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div> |
</div> | </div> |