Hi
I have a website running, which has a frame down the left hand side containing buttons which link to other pages.
The code for the buttons was freely available fom a website, which I obtained some time ago, but I cannot see a way of centering the buttons within the frame. I have adjusted all the settings, one a time, but none had the desired effect.
I have included the relevant piece of code below:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style media="screen" type="text/css">
/* NAVIGATION BUTTONS */
.cssnav {
position:relative;
font-family: arial, helvetica, sans-serif;
background-image: url(Button-ON-blank.jpg);
background-repeat: no-repeat;
white-space: nowrap;
display: block;
width: 115px;
height:23px;
margin: 0;
padding: 0;
}
.cssnav a {
display: block;
color: #000000;
font-size: 11px;
width: 115px;
height: 23px;
display: block;
float: left;
color: #8B0000;
text-decoration: none;
}
.cssnav img {width: 115px; height: 23px; border: 0; }
* html a:hover {visibility:visible}
.cssnav a:hover img{visibility:hidden}
.cssnav span {
position: absolute;
left: -31px;
top: 6px;
margin: 0px;
padding: 0px;
cursor: pointer;
width: 178px;
height: 12px;
text-align: center;
}
/* END OF NAVIGATION */
</style>
The link to the website it is currently running on is: www.garyevs.co.uk
Any ideas would be appreciated.
Thanks
