使用CSS指定元素的正确填充

填充右指定元素的右填充。这可以采用%的长度值。

示例

 <html>
    <head>
    </head>
    <body>
       <p style = "padding-right: 20px; border:2px solid blue;">
          This is demo content.
       </p>
      <p style = "padding-right: 20%; border:2px solid blue;">
         This is another demo content/
      </p>
    </body>
</html>