In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to use the padding-bottom attribute in CSS". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and study and learn "how to use the padding-bottom attribute in CSS" together.
padding-bottom property
Sets the amount of space to insert between the indicated object border and the content.
syntax
{ padding-bottom: sPadding }
possible values
◆sPadding
A variable that specifies or receives one of the following values:
◆length
Floating-point number followed by an absolute unit indicator (cm, mm, in, pt, or pc) or a relative unit indicator (em, ex, or px).
For more information about supported length units, see the Length Units Reference.
◆percentage
Integer followed by percent sign (%). This value is a percentage of the width of the parent object.
The default value for this property is 0 for all objects, and the property is not inherited.
annotation
Negative values are not allowed.
example
The following example uses the padding-bottom property to change the fill of an object. This example uses the TD element as a selector in the inline style sheet, setting the top fill of all table cells to 1 cm:
td{padding-bottom:1cm;}
This example uses an inline script to set the top fill of a cell to 1 cm when the onmouseover event occurs:
standard information
This property is defined in CascadingStyleSheets(CSS),Level 1 (CSS1).
applied to
A、ABBR、ACRONYM、ADDRESS、APPLET、B、BDO、BIG、BLOCKQUOTE、BODY、BUTTON、CAPTION、CENTER、CITE、CODE、COL、COLGROUP、CUSTOM、DD、DEFAULTS、DEL、DFN、DIV、DL、DT、EM、EMBED、FIELDSET、FONT、FORM、FRAME、HN、HR、I、IMG、INPUTTYPE=BUTTON、INPUTTYPE=CHECKBOX、INPUTTYPE=FILE、INPUTTYPE=IMAGE、INPUTTYPE=PASSWORD、INPUTTYPE=RADIO、INPUTTYPE=RESET、INPUTTYPE=SUBMIT、INPUTTYPE=TEXT、INS、LI、NEXTID、OBJECT、OL、P、Q、RT、RUBY、S、SELECT、SPAN、SUB、TD、TH、TT、U、UL、VAR、XMP
Thank you for reading, the above is "CSS padding-bottom attribute how to use" the content, after the study of this article, I believe we have a deeper understanding of how to use CSS padding-bottom attribute, the specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.