Mam mały problem z uzyskaniem zamierzonego efektu.
Chciałem przerobić przycisk typu submit tak żeby wyglądał jak inny element a konkretnie <a herf"">
O to co mam.
Html
i css do niego..
.center_form { width: 400px; height: 200px; padding-top: 40px; padding-left: 40px; margin: 0 auto; margin-top: 40px; border: 1px solid #000000; } .center_form label { width: 100px; float: left; text-align: right; margin-right: 5px; display: block } .center_form input[type="submit"] { display: inline-block; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 18px; background: #333333; color: white; border: 1px solid #000000; padding: 5px; -moz-border-radius: 2px; border-radius: 2px; cursor: pointer; } .center_form input[type="submit"]:hover{ background: #FF9900; color: black; } .center_form a{ display: inline-block; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 18px; background: #333333; color: white; border: 1px solid #000000; padding: 5px; -moz-border-radius: 2px; border-radius: 2px; cursor: pointer; } .center_form a:hover { background: #FF9900; color: black; }
I problem polega na tym że w przeglądarce firefox efekt końcowy wygląda tek że submit jest wyższy o 1px od a href.
http://jsfiddle.net/MZf6D/3/ - tak to wygląda.
Strasznie mnie to drażni i nie mogę sobie z tym poradzić.
Proszę o pomoc lub chociaż jakieś wskazówki gdzie może być problem