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.
入力ボタンのテキスト (値) が長いほど、左右のパディングが広くなるように見えます (IE)。明示的な CSS パディングは効果がないようです。誰もこれのためのハックを持っていますか?
はい、これを試してください(PSこのバグはIE8で修正されています)
padding:1px 4px 1px 4px;/*set to your preferences*/ /*Make IE render reasonably sized buttons*/ overflow:visible; width:auto;
(30 ~ 50 文字の長さのボタンは再び劣化し始めますが、それほど一般的ではないことに注意してください)