css教程:CSS填充padding属性的应用_CSS教程
教程Tag:暂无Tag,欢迎添加,赚取U币!
缂備礁娲﹂埅绀慹deCMS閻熸瑥妫濋。鍫曞极濞嗘垟鏌�濞戞梹澹嗛埞鏍⒒閿燂拷 缂佸鍠愬﹢鍥礉閳ヨ櫕鐝� 闂侇偄顦辩紞澶屾兜閺囨氨闉嶉柤杈ㄦ缁憋拷 闁哄啰濮撮崪鏍博濞嗘挻姣愮€规悶鍎遍崣锟�,闁谎勫劤鐎规娊寮堕崘顔兼濞戞挴鍋撻梺娆惧枛閸欏繘寮婚敓锟�!
The CSS padding properties define the space between the element border and the element content.CSS填充属性定元素边框到内部内容间的距离
设置左填充 Set the left padding
This example demonstrates how to set the left padding of a tablecell.
Examples 实例:
代码调试框 [www.mb5u.com]
设置右填充 Set the right padding
This example demonstrates how to set the right padding of a tablecell.
Examples 实例:
代码调试框 [www.mb5u.com]
设置上填充 Set the top padding
This example demonstrates how to set the top padding of a tablecell.
Examples 实例:
代码调试框 [www.mb5u.com]
设置底部填充 Set the bottom padding
This example demonstrates how to set the bottom padding of a tablecell.
Examples 实例:
代码调试框 [www.mb5u.com]
快速设置所有填充属性 All the padding properties in one declaration
This example demonstrates a shorthand property for setting all of the padding properties in one declaration, can have from one to four values.
Examples 实例:
代码调试框 [www.mb5u.com]
The CSS padding properties define the space between the element border and the element content. Negative values are not allowed. The top, right, bottom, and left padding can be changed independently using separate properties. A shorthand padding property is also created to control multiple sides at once.
可用padding属性快速设置各方向填充的属性
相关CSS教程:
- 相关链接:
- 教程说明:
CSS教程-css教程:CSS填充padding属性的应用
。