Код:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="bg" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<style type="text/css">
.header a {
float: left;
height: 22px;
display: block;
padding: 7px 20px 0px 20px;
color: white;
background-image: url('images/menu.jpg');
font-size: 14px;
text-decoration: none;
}
.header a:hover {
text-decoration: none;
background-image: url('images/hover.jpg');
}
.header .active {
background-image: url('images/hover.jpg');
}
.header {
height: 30px;
width: 440px;
background-image: url('images/menu.jpg');
margin: auto;
text-align: center;
letter-spacing: 1px;
border: 5px solid white;
margin: auto;
</style>
</head>
<body>
<div class="header">
<a class="active"href="#">Начало</a>
<a href="#">Начало</a>
<a href="#">Начало</a>
<a href="#">Начало</a>
<a href="#">Начало</a>
</div>
</body>
</html>
Сега където и да натисна е така, а искам примерно като натисна на 4-тото Начало да стане така