body #wrapper .button {
background: #00b1ff;
background: -moz-linear-gradient(top, #00b1ff 0%, #006aff 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b1ff), color-stop(100%,#006aff));
background: -webkit-linear-gradient(top, #00b1ff 0%,#006aff 100%);
background: -o-linear-gradient(top, #00b1ff 0%,#006aff 100%);
background: -ms-linear-gradient(top, #00b1ff 0%,#006aff 100%);
background: linear-gradient(top, #00b1ff 0%,#006aff 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b1ff', endColorstr='#006aff',GradientType=0 );
height: 45px;
width: 118px;
color: white;
font-size: 20px;
font-weight: bold;
margin-left: 10px;
text-align: center;
text-shadow: 0px -1px 0px #223847;
cursor: pointer;
}
this seems to create some height / width changes in different browsers. any suggestions for getting perfect pixel height / width in browsers? The gradient seems fine, I'm fine if it degrades to solid in older browsers.
source
share