Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.page, .pageon {
border: 1px solid black;
font-family: arial, verdana;
font-size: 10px;
font-weight: normal;
color: #000000;
overflow:hidden;
}
.page a, .pageon a {
padding: 0 5px;
color: #000000;
display:block;
width:100%;
height:100%;
}
.pageon a {
color: #FFFFFF;
background-color: #C40000;
}
.page a:visited {
color: #000000;
}
.pageon a:visited {
color: #FFFFFF;
background-color: #C40000;
}
.page a:hover, .pageon a:hover {
color: #FFFFFF;
background-color: #C40000;
}
.pageon {
color: #FFFFFF;
background-color: #C40000;
}
</style>
<!--[if IE]>
<style type="text/css">
.page a, .pageon a {
display:inline;
}
</style>
<![endif]-->
<script type="text/javascript">
function toggleCells(el){
rCells=document.getElementsByTagName('td');
for (i = 0; i < rCells.length; i++)
if (rCells[i].className=='pageon')
rCells[i].className='page'
el.className='pageon'
}
</script>
</head>
<body>
<table align="center" cellpadding="0" cellspacing="2" border="1">
<tr>
<td class="page" onclick="toggleCells(this);"><a href="#">1</a></td>
<td class="page" onclick="toggleCells(this);"><a href="#">2</a></td>
<td class="page" onclick="toggleCells(this);"><a href="#">3</a></td>
</tr>
</table>
</body>
</html>
Bookmarks