Ho utilizzato questo tool per generare le immagini di sfondo ed il css. Il codice css generato è il seguente:
Il problema è che su firefox i pulsanti creati in questo modo si vedono bene, mentre su chrome e safari la parte destra del pulsante non è allineata con la parte sinistra, si trova più su di qualche pixel... sapete come potrei fixare questo problema?codice:button { border: 0 none; cursor: pointer; font-weight: bold; padding: 0 15px 0 0; text-align: center; height: 20px; line-height: 20px; width: auto; } button.rounded { background: transparent url('images/btn_right.png') no-repeat scroll right top; clear: left; font-size: 1em; } button span { display: block; padding: 0 0 0 15px; position: relative; white-space: nowrap; height: 20px; line-height: 20px; } button.rounded span { background: transparent url('images/btn_left.png') no-repeat scroll left top; color: #FFFFFF; } button.rounded:hover { background-position: 100% -20px; } button.rounded:hover span { background-position: 0% -20px; } button::-moz-focus-inner { border: none; }![]()
Grazie in anticipo...

Rispondi quotando
