Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スクリーンショットでは、フォーム テキスト フィールドが 97% に設定されており、それらの間にギャップが生じています。Firefox を除くすべてのブラウザで動作します。100% まで拡張できるようです。誰でもこれを回避する方法を教えてください。
box-sizing: border-box(および対応する-moz-box-sizing, )を追加してみてください-webkit-box-sizing。それ以外の場合、パディングとマージンは含まれずに 97% に追加されます。
box-sizing: border-box
-moz-box-sizing
-webkit-box-sizing
Mac OS で FF 13.0.1 を使用していますが、ギャップが正しく表示されます。