Saturday 22nd of November 2008 08:01:29 AM
Nice and Free CSS Templates
computed in relation to the width of the parent element, so they can
change if the parent element's width changes in some way. For
example, assume the following, which is illustrated in P {padding: 10%; background-color: silver;}
<DIV STYLE="width: 200px;">
<P>This paragraph is contained within a DIV which has a width of 200 pixels,
so its padding will be 10% of the width of the paragraph's parent element.
Given the declared width of 200 pixels, the padding will be 20 pixels on
all sides.</P>