Forum Moderators: not2easy
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>Change Background Color on Mouseover of Text Box</title>
<meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
<meta name="created" content="Mon, 27 Sep 2010 16:22:27 GMT">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="PayneLess Designs">
<meta name="copyright" content="Jan 2004 to present.">
<style>
#wrap {
width: 410px;
height: 410px;
margin: 0 auto;
border: 1px solid #f0f;
}
a {
display: block;
width: 400px;
height: 400px;
padding: 5px;
text-decoration: none;
font-size: 1.25em;
color: #0f0;
}
a:link { background: #00f; }
a:visited { background: #f00; }
a:hover { background: #ff0; }
a:active { background: #f0f; }
</style>
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="wrap"><a href="#nogo" title="Link Description">Unvisited: Blue.<br>Visted (Clicked): Red.<br>Hover: Yellow.<br>Active: Fuchsia.</a></div>
</body></html>
<!-- HTML 5 -->