div#tabs ul {
  margin: 10px 0 4px 0;
  padding: 0px;
  list-style: none;
  text-align: center;
}

div#tabs ul li {
  display: inline;
  margin: 0px;
  padding: 0px;
}

div#tabs ul li a {
  color: red;
  height: 40px;
  text-decoration: none;
  background: url("../images/framework/Gallery-L.png") repeat-y left top;
  padding: 5px 0px;
  margin: 0px;
}

div#tabs ul li a span {
  background: url("../images/framework/Gallery-R.png") repeat-y right top;
  padding: 5px 8px;
}

div#tabs ul li a:hover {
  background-image: url("../images/framework/Gallery-L-b.png");
}

div#tabs ul li a:hover span {
  background-image: url("../images/framework/Gallery-R-b.png");
}

div#tabs ul li#first a{
  background: none;
}

div#tabs ul li#first a:hover {
  background: none;
}


div#tabs ul li#last a span {
  background: none;
}

div#tabs ul li#last a:hover span {
  background: none;
}