CSS padding-right属性
填充右指定元素的右填充。它设置元素的正确填充。这可以采用%的长度值。
<html> <head> </head> <body> <p style = "padding-right: 10px; border:1px solid blue;"> This is a paragraph with a specified right padding </p> <p style = "padding-right: 10%; border:1px solid blue;"> This is another paragraph with a specified right padding in percent </p> </body> </html>