Ero sivun ”Malline:Kuvalinkki” versioiden välillä

PartioWikistä
Siirry navigaatioon Siirry hakuun
Ei muokkausyhteenvetoa
p (Käyttäjän Liimes (keskustelu) muokkaukset kumottiin ja sivu palautettiin viimeisimpään käyttäjän ZeiP tekemään versioon.)
Rivi 1: Rivi 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: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{{link}}}|{{{align}}}]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div>
</div>
</div>
<noinclude>
<noinclude>

Versio 10. joulukuuta 2006 kello 19.07

[[{{{link}}}|   ]]
[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]





This template attempts to superimpose an invisible link on an image. It doesn't work in Safari, in text-only browsers, and in screen readers for the disabled, and possibly other situations. The technique of using CSS to change page content also completely breaks an article's web accessibility by contravening a WAI priority-one checkpoint. [1] Please try to avoid using this template unless absolutely necessary.

See also Template:Titled-click