ivankoumaev
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 0
I'm trying to create hotspots on an image for my website in order to make a navigation. But I can't seem to pull up a menu when I hover over the area where I triggered the menu to appear. Does anyone know what I'm doing wrong?
Here's my code:
Here's my code:
Code:
<html>
<style type="text/css">
<!--
BODY
.style13 {font-size: 14px}
.style15 {
font-size: 12px;
font-weight: bold;
color:black;
}
.style3 { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style5 { font-size: 14px;
font-weight: bold;
}
a:link {
color:black;
text-decoration: none;
}
a:visited {
text-decoration: none;
color:black;
}
a:hover {
text-decoration: none;
color:lavender;
}
a:active {
text-decoration: none;
color:black;
}
.style16 {color:black}
.style17 {
color:black;
font-weight: bold;
}
#image {
position:absolute;
top:0px;
left:0px;
width:191px;
height:110px;
}
#navigation {
background-color: transparent;
position: absolute;
top:81px;
left:57px;
width:96px;
height:20px;
}
#home {
background-color: transparent;
position: absolute;
top:0px;
left:0px;
width:37px;
height:8px;
}
#gallery {
background-color: transparent;
position: absolute;
top:0px;
left:44px;
width:52px;
height:8px;
}
#contact {
background-color: transparent;
position: absolute;
top:13px;
left:22px;
width:53px;
height:7px;
-->
</style>
<img src="images/test.png">
<div id="image">
<div id="navigation">
<a href="home"><div id="home"></div></a>
<div id="gallery"></div><div id="contact"></div>
</div>
</div>
<body style="background-color: transparent">
<font face=verdana><font size=2>
TEXT
</font></body>