Hey all,
I have these three images:
http://i54.tinypic.com/e5pl3t.png
THis right here will reveal the left corner but not the right corner:
<style>
#box {
background: url(left-button.png) no-repeat top left;
padding-left: 6px;
}
h1 {
background: url(right-button.png) no-repeat top right;
font-size: 20px;
line-height: 1.5;
color: #fff;
text-align: center;
}
a {
display: block;
width: 345px;
height: 30px;
background: url(blue-button-repeat.png) repeat-x;
text-decoration: none;
}
</style>
<div id="box">
<a href="#">
<h1>Manage Categories and Services</h1>
</a>
</div>
The code below works but this is nothing but slop. I had to create an extra element and the left and right side aren’t clickable because it expands beyond the width of link:
<style>
#box {
background: url(left-button.png) no-repeat top left;
padding-left: 6px;
width: 351px;
}
#inner {
background: url(right-button.png) no-repeat top right;
padding-right: 6px;
}
a {
display: block;
width: 345px;
height: 30px;
background: url(blue-button-repeat.png) repeat-x;
text-decoration: none;
}
h1 {
font-size: 20px;
line-height: 1.5;
color: #fff;
text-align: center;
}
</style>
<div id="box">
<div id="inner">
<a href="#">
<h1>Manage Categories and Services</h1>
</a>
</div>
</div>
Any idea how to make this work right?
Thanks for response.