2013-04-28 29 views
6

bugGarip Safari CSS hata

Merhaba, bu düğmeye bir CSS gradyan ekledik

geçişlerini ama görünen garip bir çizgi olduğu görülmektedir. Bunu düzeltmem için bir yolu var mı?

CSS:

#view-content .billing-form #submit { 
    background: #94c723; /* Old browsers */ 
    background: -moz-linear-gradient(top, #94c723 0%, #6cb119 100%); /* FF3.6+ */ 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#94c723), color-stop(100%,#6cb119)); /* Chrome,Safari4+ */ 
    background: -webkit-linear-gradient(top, #94c723 0%,#6cb119 100%); /* Chrome10+,Safari5.1+ */ 
    background: -o-linear-gradient(top, #94c723 0%,#6cb119 100%); /* Opera 11.10+ */ 
    background: -ms-linear-gradient(top, #94c723 0%,#6cb119 100%); /* IE10+ */ 
    background: linear-gradient(to bottom, #94c723 0%,#6cb119 100%); /* W3C */ 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#94c723', endColorstr='#6cb119',GradientType=0); /* IE6-9 */ 
    border: none; 
    border-top: 1px solid #a1d61a; 
    -moz-border-radius: 3px; 
    -webkit-border-radius: 3px; 
    border-radius: 3px; 
    color: #FFFFFF; 
    font-size: 18px; 
    line-height: 40px; 
    padding: 0 70px; 
    font-weight: bold; 
    font-family: Arial, sans-serif; 
} 
+0

Bu [fiddle] ile Safari Sürüm 5.1.2'de (6534.52.7) denedim (http://jsfiddle.net/z8D9A/) ve sorun değil. İlgili HTML kodunu da verebilir misiniz? – Bigood

+0

html sadece bir giriş türüdür = gönderin. Ayrıca, bu en son Safari (6?) –

+0

benim Safari sürümünü güncellediğimi düşünüyorum. Bu arada, gönderim sepetinize uygulanan tüm kuralları Safari'nin HTML/CSS denetçisi – Bigood

cevap

1

Sadece bir düşünce, ama neden pixlr üzerinde gradiant bindirme yapmak ve sadece background-resmi olarak ayarlayabilirsiniz değil. O zaman artık bu soruna sahip değilsiniz ve yaklaşık on satır kodu saklıyorsunuz ..

+0

Bu, sonunda gittiğim yaklaşım –

0

bu deneyin:

#view-content .billing-form #submit { 
    background: #94c723; /* Old browsers */ 
    background: -moz-linear-gradient(top, #94c723 0%, #6cb119 100%); /* FF3.6+ */ 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#94c723), color-stop(100%,#6cb119)); /* Chrome,Safari4+ */ 
    background: -webkit-linear-gradient(top, #94c723 0%,#6cb119 100%); /* Chrome10+,Safari5.1+ */ 
    background: -o-linear-gradient(top, #94c723 0%,#6cb119 100%); /* Opera 11.10+ */ 
    background: -ms-linear-gradient(top, #94c723 0%,#6cb119 100%); /* IE10+ */ 
    background: linear-gradient(to bottom, #94c723 0%,#6cb119 100%); /* W3C */ 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#94c723', endColorstr='#6cb119',GradientType=0); /* IE6-9 */ 
    border: none; 
    border-top: 1px solid #a1d61a; 
    -moz-border-radius: 3px; 
    -webkit-border-radius: 3px; 
    border-radius: 3px; 
    color: #FFFFFF; 
    font-size: 18px; 
    line-height: 40px; 
    padding: 0 70px; 
    font-weight: bold; 
    font-family: Arial, sans-serif; 
    display: block; 
    outline: none; 
} 
+0

Maalesef bu sorunu çözmedi - cevabınız için teşekkürler, –