How would the css look if i used a new map for each state? something like this?
Code:
#usa {
width: 580px;
height: 330px;
background: url(http://www.intriguegraphics.com/demos/liberty/site/images/mapover.png) no-repeat;
margin: 10px auto; padding: 0;
position: relative;
border: 2px solid #999;
}
#usa li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;}
#usa a {display: block; text-indent: -9999px; text-decoration: none;}
#ny {
left: 459px;
top: 43px;
width: 55px;
height: 30px;
z-index: 40;
}
#vt {
left: 511px;
top: 51px;
width: 15px;
height: 15px;
z-index: 40;
}
#me {
left: 528px;
top: 8px;
width: 50px;
height: 54px;
}
#ny a:hover {background: url(images/mapover.png);}
#vt a:hover {background: url(images/mapover.png) ;}
#me a:hover {background: url(images/mapover.png) ;}
something like that?
I think its easier because right now i am completely guessing where each state is when I input
Code:
#vt a:hover {background: url(images/mapover.png) -557px -444px no-repeat;}
It's taking me like 20 minutes per state...
Bookmarks