Template:ImageMap

From 2009.igem.org

(Difference between revisions)
m (Make id mandatory.)
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>
-
#{{1}} { display: block; width: {{3}}px; height: {{4}}px; position: relative; margin: 10px;
+
#</html>{{1}}<html> { display: block; width: </html>{{3}}<html>px; height: </html>{{4}}<html>px;
-
        background: url({{2}}) no-repeat; }
+
                      position: relative; margin: 10px;
 +
                      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; }
-
{{5}}
+
</html>{{5}}<html>
</style>
</style>
</html>
</html>

Revision as of 10:28, 18 August 2009