Note that there are some explanatory texts on larger screens.

plurals
  1. PObutton-form alignment with CSS3 and cross browsers
    primarykey
    data
    text
    <p>I've been trying to get a textfield and button to align flush with each other, I have tried two methods, using height, as well as just padding, but when one works for one browser, it doesn't work for the other, and vise versa.</p> <p>Does anyone know of how to fix this problem? a screenshot is present below.</p> <p><a href="http://img291.imageshack.us/i/75462612.png/" rel="nofollow">http://img291.imageshack.us/i/75462612.png/</a></p> <p>The screenshot is from using the code below - and when I use padding instead of height, firefox looks fine, but chrome is unaligned..</p> <pre><code>.buttons { font-family:arial; font-size:18px; height:38px; margin-left:-1px; border:1px solid #b4b4b4; background: -webkit-gradient(linear, left top, left bottom, from(#cb43b3), to(#a5108b)); background: -moz-linear-gradient(top, #cb43b3, #a5108b); -moz-border-top-right-radius:5px; border-top-right-radius:5px; -moz-border-bottom-right-radius:5px; border-bottom-right-radius:5px; color:#fff; } .buttons:hover { background: -webkit-gradient(linear, left top, left bottom, from(#a5108b), to(#cb43b3)); background: -moz-linear-gradient(top, #a5108b, #cb43b3); } .textarea { border:1px solid #b4b4b4; -moz-border-top-left-radius:5px; border-top-left-radius:5px; -moz-border-bottom-left-radius:5px; border-bottom-left-radius:5px; -moz-box-shadow: inset 2px 2px 2px 2px #cfcfcf; -webkit-box-shadow: inset 2px 2px 2px 2px #cfcfcf; box-shadow: inset 2px 2px 2px 2px #cfcfcf; box-shadow: inset 2px 2px 2px 2px #cfcfcf; padding:7px; font-family:arial; font-size:18px; color:#7e7e7e; width:300px; } </code></pre> <p>Just assume this has no other code except the body tags..as even trying with just body tags this problem still persists.</p>
    singulars
    1. This table or related slice is empty.
    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.
    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