
form on top of imagemap
By: a guest on
Jan 22nd, 2013 | syntax:
HTML | size: 2.83 KB | hits: 8 | expires: Never
<html>
<head>
<style>
A:link
{ text-decoration: none; color: black; cursor:crosshair; }
A:visited
{ text-decoration: none; cursor:crosshair; color: black; }
A:active
{ text-decoration: none; cursor:crosshair; color:black; }
A:hover {
text-decoration: none; color: #705551; background-color:black; font weight:none; cursor:help;}
body
{ background: #c0c2c3;
font-family: georgia;
color: #4a458d;
font-size: 10pt;
cursor: s-resize;
}
td
{ font-family: Verdana;
font-size: 10px;
color: #4a458d;
cursor: crosshair;
text-align: left;
margin: 0px;}
}
textarea, input, select {
font-family : trebuchet ms;
font-size: 10px;
color:#4a458d;
cursor: crosshair;
border-color: silver;
border-style: solid;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
}
.head
{font-family: georgia;
font-weight: none;
letter-spacing:-3px;
font-size: 17pt;
line-height: 16pt;
color: #48457b;
border-top: 0px solid;
border-bottom: 1px solid black;
border-right: 0px solid;
border-color: none;
background-color:#c0c2c3;
text-align: left;
text-transform: uppercase;
}
.head2
{font-family: georgia;
font-weight: none;
letter-spacing:2px;
font-size: 7pt;
line-height: 10pt;
color: #443f80;
border-top: 0px solid;
border-bottom: 1px solid black;
border-right: 0px solid;
border-color: none;
background-color:#c0c2c3;
text-align: left;
text-transform: none;
}
#myMap {
position: absolute;
left:0;
top: 0;
border:0;
z-index:-999;
}
</style>
</head>
<body>
<img id="myMap" src="http://earth.imagico.de/5gp/img/5gp_800.jpg" usemap="#Map1">
<map id="Map1" name="Map1">
<area shape="rect" coords="136,331,211,351" name="home" a href="home.php">
<area shape="rect" coords="136,379,244,400" name="aboutus" a href="aboutus.php">
<area shape="rect" coords="136,426,247,447" name="calculate" a href="">
<area shape="rect" coords="136,475,262,495" name="contactus" a href="">
<form method="post" action="checklogin.php">
<table width="450" height="88" border="0" align="left">
<tr>
<td width="180">Enter your email</td>
<td width="270">
<input name="email" type="text" size="30" /></td>
<tr>
<td>Enter your password</td>
<td><input type="password" name="password" type="text" size="30" /></td></tr>
<tr><td colspan="2"><input type="submit" name="Submit" value="Login" /></td></tr></table>
</form>
</body>
</html>