In my CSS, I have the following styling for a button:
<a class="button">
<span>Y</span>
</a>
.button {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #206CAF;
background: -moz-linear-gradient(top,rgba(255,255,255,0.1) 0,rgba(0,0,0,0.1) 100%) repeat scroll 0 0 #206CAF;
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0.1)),color-stop(100%,rgba(0,0,0,0.1)));
background: -webkit-linear-gradient(top,rgba(255,255,255,0.1) 0,rgba(0,0,0,0.1) 100%) repeat scroll 0 0 #206CAF;
background: -o-linear-gradient(top,rgba(255,255,255,0.1) 0,rgba(0,0,0,0.1) 100%);
background: -ms-linear-gradient(top,rgba(255,255,255,0.1) 0,rgba(0,0,0,0.1) 100%);
background: linear-gradient(top,rgba(255,255,255,0.1) 0,rgba(0,0,0,0.1) 100%);
border-color: -moz-use-text-color -moz-use-text-color rgba(0, 0, 0, 0.2);
border-image: none;
border-radius: 2px 2px 2px 2px;
border-style: none none solid;
border-width: 0 0 1px;
box-shadow: 0 1px 1px rgba(50, 50, 50, 0.15);
color: #FFFFFF;
cursor: pointer;
display: inline-block;
font-size: 12px;
font-weight: 600;
line-height: 12px;
outline: 0 none;
padding: 5px 10px;
text-align: center;
text-decoration: none;
text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
}
When viewing on Chrome, Safari (both Mac and Windows), and IE 9 (Windows), the gradient does not fully cover the button, leaving some white space at the bottom. Is this an issue with my code or is it expected behavior?
You can view the example on JSFiddle here: http://jsfiddle.net/VmTks/