Difference between revisions of "SHIP:Property:boxmodel:pr"

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: {{Node|box}})
Line 1: Line 1:
=== Node: {{Node|box}} ===
+
=== Node: All [[SHIP:BoxModel|Box Model Nodes]] ===
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
! scope="col" | Property
 
! scope="col" | Property

Revision as of 08:34, 21 January 2013

Node: All Box Model Nodes

Property Data Type Description
pr Dimension Sets the right padding thickness of a box model node.

The padding right (pr) property of the box set the right edge padding of the container. The padding begins inside the innermost pixel of the right border and is exactly the pr number of pixels thick.

Inside the padding is the final inner area of the container where child objects (including other boxes) can exist. Child objects inside the inner area are clipped visually to the inner area, and the location (0,0) is the upper left corner of this inner area.