该 填充机顶指定元素的顶部填充。它设置元素的顶部填充。这可以采用%的长度值。
<html> <head> </head> <body> <p style = "padding-top: 10px; border:1px solid red;"> This is a paragraph with a specified top padding </p> <p style = "padding-top: 10%; border:1px solid red;"> This is another paragraph with a specified top padding in percent </p> </body> </html>