Template:ImageMap

From 2009.igem.org

(Difference between revisions)
m
m
Line 2: Line 2:
<!-- Based on the nice example at http://ago.tanfa.co.uk/css/examples/europe-map.html -->
<!-- Based on the nice example at http://ago.tanfa.co.uk/css/examples/europe-map.html -->
<style>
<style>
-
#</html>{{1}}<html> { display: block; width: </html>{{3}}<html>px; height: </html>{{4}}<html>px;
+
#</html>{{{1}}}<html> { display: block; width: </html>{{{3}}}<html>px; height: </html>{{{4}}}<html>px;
                       position: relative; margin: 10px;
                       position: relative; margin: 10px;
-
                       background: url(</html>{{2}}<html>) no-repeat; }
+
                       background: url(</html>{{{2}}}<html>) no-repeat; }
#imap li { margin: 0; padding: 0; list-style: none; display: block; text-indent: -9999px; }
#imap li { margin: 0; padding: 0; list-style: none; display: block; text-indent: -9999px; }
#imap a { display: block; text-decoration: none; position: absolute; }
#imap a { display: block; text-decoration: none; position: absolute; }
-
</html>{{5}}<html>
+
</html>{{{5}}}<html>
</style>
</style>
</html>
</html>

Revision as of 11:04, 18 August 2009