a.squarebutton {
	background: transparent url('/site/images/buttons/square-left.gif') no-repeat top left;
	display: block;
	float: left;    /* for IE6 */
	width: auto;    /* for IE6 */
	font: normal 12px Arial; /* change 12px as desired */
	font-weight: bold;
	line-height: 15px; /* this value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
	height: 23px; /* height of button background height */
	padding-left: 9px; /* width of left menu image */
}

a:link.squarebutton, a:visited.squarebutton, a:active.squarebutton {
	color: #494949; /* button text color */
	text-decoration: none;
	font-weight: bold;
}

a.squarebutton span {
	background: transparent url('/site/images/buttons/square-right.gif') no-repeat top right;
	display: block;
	padding: 4px 9px 4px 0; /* set 9px below to match value of 'padding-left' value above */
	text-transform: none;   /* remove transform from enclosing block element */
}

a.squarebutton:hover { /* hover state CSS */
	background-position: bottom left;
}

a.squarebutton:hover span { /* hover state CSS */
	background-position: bottom right;
	color: black;
	font-weight: bold;
}

.buttonwrapper { /* container you can use to surround a CSS button to clear float */
	overflow: hidden; /* see: http://www.quirksmode.org//site/css/clearing.html */
	width: 100%;
}

/* -------------- for input buttons too? ------------------------------- */

input.squarebutton {
	background: transparent url('/site/images/buttons/square-middle.gif') repeat-x top left;
	display: block;
	font: normal 12px Arial; /* change 12px as desired */
	font-weight: bold;
	line-height: 15px; /* this value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
	height: 23px; /* height of button background height */
	border: none;
}

input.squarebutton:link, input.squarebutton:visited, input.squarebutton:active {
	color: #494949; /* button text color */
	text-decoration: none;
	font-weight: bold;
}

input.squarebutton span {
	background: transparent url('/site/images/buttons/square-right.gif') repeat-x top right;
	display: block;
	padding: 4px 9px 4px 0; /* set 9px below to match value of 'padding-left' value above */
	text-transform: none;   /* remove transform from enclosing block element */
}

input.squarebutton:hover { /* hover state CSS */
	background-position: bottom left;
}

input.squarebutton:hover span { /* hover state CSS */
	background-position: bottom right;
	color: black;
	font-weight: bold;
}

