Home  >  Article  >  Web Front-end  >  input元素的padding border margin的区别_html/css_WEB-ITnose

input元素的padding border margin的区别_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:34:391545browse

padding内(不包含padding)的部分才是可输入部分,也是width和height标明的区域。padding的部分加上width和height部分是background的部分。padding的外部是border的部分,border的外部是margin的部分。

padding的宽度是不再width和height中的。 

2013-10-31 16:29:22

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn