Template:ImageMap
From 2009.igem.org
(Difference between revisions)
(Initial version of image map.) |
m (Make id mandatory.) |
||
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; |
- | background: url({{ | + | background: url({{2}}) 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}} |
</style> | </style> | ||
</html> | </html> |
Revision as of 10:25, 18 August 2009