The form element input with type text strangely refuses to align with an adjacent image button ( input element of type image ). テキストは、フォーム要素の入力タイプに隣接する不思議なイメージを拒否して手を組んボタンをクリック( 入力の要素のタイプのイメージ ) 。 The problem is rather hard to solve as regular methods like using align or margin or padding or even adding whitespace to the image fails.この問題を解決するためにはかなりのハードとしてのような定期的なメソッドを使用して配置やマージンやパディングまたは空白を追加しても画像が失敗します。 Here is a surprisingly simple solution to this problem.次に示すのは、この問題の解決策を驚くほど簡単です。 But first lets take a look at the problem.しかし、最初のでは、この問題を見ています。

The input textbox above is misaligned with the image button above as you can see.歯並びの悪いとは、入力テキストボックスの上には上のボタンをクリックとしてのイメージを参照することができます。 The code is:このコードは:


The solution is deceptively simple.コロンブスの卵の解決策は単純です。 Here is the code which works:ここでは、コードを著作物:


Here is the demo:ここでは、デモ: