the problem I am having is getting the centre image to display. when I change the code to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="button.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#programl { background: url(../img/programs_hover_l.jpg) no-repeat left; float:left; height: 34px; padding-left: 5px;}
.programr { background: url(../img/programs_hover_r.jpg) no-repeat right; float:right; height: 34px; padding-right: 5px;}
.programc { background: url(../img/programs_hover_c.jpg) repeat-x; height:34px; width:400px;}
#text{ font-size:20px; font-family: Arial, Helvetica, sans-serif;}
</style>
</head>
<body>
<div id="programc" class="programl"><a href="" class="programr" id="text"></a></div>
</body>
</html>
the centre image displays but the left image will not display and when I change to this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="button.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.programl { background: url(../img/programs_hover_l.jpg) no-repeat left; float:left; height: 34px; padding-left: 5px;}
.programr { background: url(../img/programs_hover_r.jpg) no-repeat right; float:right; height: 34px; padding-right: 5px;}
#programc { background: url(../img/programs_hover_c.jpg) repeat-x; height:34px; width:400px;}
#text{ font-size:20px; font-family: Arial, Helvetica, sans-serif;}
</style>
</head>
<body>
<div id="programl" class="programc"><a href="" class="programr" id="text"></a></div>
</body>
</html>
The left shows up and the centre does not show up why?