Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS button size different in Firefox 19 (works in chrome and IE9)
    primarykey
    data
    text
    <p>Firefox version 19 is giving me problems with spacing between an input field and a button. I would like the input button to appear to be inside the form background, and vertically centered, but the button is larger in Firefox than in Chrome or IE9 so it touches with the bottom of the form background. I am seeing this on a 1600x900 display. It looks fine on Chrome and IE9. Here is the jsfiddle <a href="http://jsfiddle.net/gyFS4/1/" rel="nofollow">http://jsfiddle.net/gyFS4/1/</a></p> <p>HTML</p> <pre><code>&lt;div id="signUp"&gt; &lt;form action="" method="post" id="signup"&gt; &lt;input type="text" class="left" id="email" name="email" placeholder="Enter your email address" value=""&gt; &lt;input type="submit" id="notify-me" class="button" value="Sign me up!"&gt; &lt;/form&gt; &lt;/div&gt; </code></pre> <p>CSS</p> <pre><code>form { width: 406px; margin: 0px auto; margin-top: 32px; background: #ffffff; height: 46px; border-radius: 22px; -moz-box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.4); -webkit-box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.4); box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.4); } #email { margin-left: 16px; margin-right: 16px; height: 36px; width: 240px; font-size: 1em; color: #202020; background: transparent; border: none; } #email:focus { outline: none; } .button { margin-top: 3px; background-color: #c3d753; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c3d753), color-stop(100%, #a7ba3f)); background-image: -webkit-linear-gradient(top, #c3d753, #a7ba3f); background-image: -moz-linear-gradient(top, #c3d753, #a7ba3f); background-image: -ms-linear-gradient(top, #c3d753, #a7ba3f); background-image: -o-linear-gradient(top, #c3d753, #a7ba3f); background-image: linear-gradient(top, #c3d753, #a7ba3f); -moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px; border:1px solid #82922d; display:inline-block; color:#ffffff; font-family: Open Sans, sans-serif; font-size:1em; font-weight: 400; padding:8px 16px; text-decoration:none; text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); } .button:hover { background-color: #daf159; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #daf159), color-stop(100%, #a7ba3f)); background-image: -webkit-linear-gradient(top, #daf159, #a7ba3f); background-image: -moz-linear-gradient(top, #daf159, #a7ba3f); background-image: -ms-linear-gradient(top, #daf159, #a7ba3f); background-image: -o-linear-gradient(top, #daf159, #a7ba3f); background-image: linear-gradient(top, #daf159, #a7ba3f); } .button:active { background-color: #c3d753; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a7ba3f), color-stop(100%, #c3d753)); background-image: -webkit-linear-gradient(top, #a7ba3f, #c3d753); background-image: -moz-linear-gradient(top, #a7ba3f, #c3d753); background-image: -ms-linear-gradient(top, #a7ba3f, #c3d753); background-image: -o-linear-gradient(top, #a7ba3f, #c3d753); background-image: linear-gradient(top, #a7ba3f, #c3d753); -moz-box-shadow:inset 0px 1px 3px rgba(0, 0, 0, 0.7); -webkit-box-shadow:inset 0px 1px 3px rgba(0, 0, 0, 0.7); box-shadow:inset 0px 1px 3px rgba(0, 0, 0, 0.7); } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload