One interesting quirk I've noticed in my HTML code is that a text box with a jQuery button attached to it seems to shift down by about 4 pixels when the user enters text and then moves away from the box using the tab key or mouse.
<div class='input-append'>
<input class="tin" type="text" name="s" />
<button class="btn btn-large btn-primary" type="submit">GO!</button>
</div>
Here's the CSS snippet:
.tin
{
font: bold 1.9em sans-serif;
height: 27px;
-webkit-border-radius: 12px 0 0 12px;
-moz-border-radius: 12px 0 0 12px;
border-radius: 12px 0 0 12px;
width: 480px;
}
This odd shifting behavior is observed in Chrome and Safari, but not in IE where some of the entered text is cut off instead (with the outer border of the text box overlapping the bottom of the text). This leads me to believe it might be related to a line-height issue. Any thoughts?