inputタグにpaddingは利きません。
marginは利きます。
理由はinputタグがインラインブロック要素だから。
inputタグを縦に複数行並べてパディング調整する時はdiv、p、liあたりを使います。
spanタグはインライン要素なので、margin、paddingは利かないと思ったほうがよいです。
[参考]
http://mozilla.gr.jp/standards/webtips0015.html
この記事を書いた人
新着記事
- 2015.11.27Illustrator[Mac]IllustratorのカラーモードをRGBへ変更する方法
- 2015.11.27IllustratorIllustratorのカラーモードをRGBへ変更する方法
- 2015.11.26Illustrator[Mac]IllustratorのカラーモードをCMYKへ変更する方法
- 2015.11.25IllustratorIllustratorのカラーモードをCMYKへ変更する方法