Hi, thanks for replying.
I've copied the code from HTML and CSS. Sorry, it's a bit long.
For the HTML I've got:
__________________________________________________ _______
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Mind Body Achievements | Homepage</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<!-- HEADER -->
<table width="900px" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="title" rowspan="2" width="300px"><h1 class="title">Mind Body<br />Achievements</h1></td>
<td><a class="btnhome" href="index.htm"></a></td>
<td><a class="btnaboutus" href="aboutus.htm"></a></td>
<td><a class="btnservices" href="services.htm"></a></td>
<td><a class="btnproducts" href="products.htm"></a></td>
<td><a class="btnresources" href="resources.htm"></a></td>
<td><a class="btncontactus" href="contactus.htm"></a></td>
</tr>
<tr>
<td colspan="7"><p class="titletlf">0845 123 1234</p></td>
</tr>
</table>
__________________________________________________ _______
and in the stylesheet I've got:
__________________________________________________ _______
/* HOME BUTTON */
.btnhome {
width: 80px;
height: 25px;
font-size: 10px;
text-decoration: none;
background-repeat: no-repeat;
background-image: url("btnhome.jpg");
}
.btnhome:hover {
background-image: url("btnhomeover.jpg");
}
/* ABOUT US BUTTON */
.btnaboutus {
width: 80px;
height: 25px;
font-size: 10px;
text-decoration: none;
background-repeat: no-repeat;
background-image: url("btnaboutus.jpg");
}
.btnaboutus:hover {
background-image: url("btnaboutusover.jpg");
}
/* SERVICES BUTTON */
.btnservices {
width: 80px;
height: 25px;
font-size: 10px;
text-decoration: none;
background-repeat: no-repeat;
background-image: url("btnservices.jpg");
}
.btnservices:hover {
background-image: url("btnservicesover.jpg");
}
/* PRODUCTS BUTTON */
.btnproducts {
width: 80px;
height: 25px;
font-size: 10px;
text-decoration: none;
background-repeat: no-repeat;
background-image: url("btnproducts.jpg");
}
.btnproducts:hover {
background-image: url("btnproductsover.jpg");
}
/* RESOURCES BUTTON */
.btnresources {
width: 80px;
height: 25px;
font-size: 10px;
text-decoration: none;
background-repeat: no-repeat;
background-image: url("btnresources.jpg");
}
.btnresources:hover {
background-image: url("btnresourcesover.jpg");
}
/* CONTACT US BUTTON */
.btncontactus {
width: 80px;
height: 25px;
font-size: 10px;
text-decoration: none;
background-repeat: no-repeat;
background-image: url("btncontactus.jpg");
}
.btncontactus:hover {
background-image: url("btncontactusover.jpg");
}
etc...
I think the code is right. But the rollovers only display if I remove the Doc Type
