CSS1 Test Suite: 5.5.09 padding-left

The style declarations which apply to the text below are:

    .zero {background-color: silver; padding-left: 0;}
    .one {padding-left: 0.5in; background-color: aqua;}
    .two {padding-left: 25px; background-color: aqua;}
    .three {padding-left: 5em; background-color: aqua;}
    .four {padding-left: 25%; background-color: aqua;}
    .five {padding-left: -20px; background-color: aqua;}

This element has a class of zero.

This element should have a left padding of half an inch, which will require extra text in order to test. Both the content background and the padding should be aqua (light blue).

This element should have a left padding of 25 pixels, which will require extra text in order to test. Both the content background and the padding should be aqua (light blue).

This element should have a left padding of 5em, which will require extra text in order to test. Both the content background and the padding should be aqua (light blue).

This element should have a left padding of 25%, which is calculated with respect to the width of the parent element. Both the content background and the padding should be aqua (light blue).

- The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test.
- Another list item might not be such a bad idea, either, considering that such things do need to be double-checked. This list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50 pixels of margin.

This element should have no left padding, since negative padding values are not allowed. Both the content background and the normal padding should be aqua (light blue).

TABLE Testing Section
| This element has a class of zero. This element should have a left padding of half an inch, which will require extra text in order to test. Both the content background and the padding should be aqua (light blue). This element should have a left padding of 25 pixels, which will require extra text in order to test. Both the content background and the padding should be aqua (light blue). This element should have a left padding of 5em, which will require extra text in order to test. Both the content background and the padding should be aqua (light blue). This element should have a left padding of 25%, which is calculated with respect to the width of the parent element. Both the content background and the padding should be aqua (light blue). The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test. Another list item might not be such a bad idea, either, considering that such things do need to be double-checked. This list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50 pixels of margin. This element should have no left padding, since negative padding values are not allowed. Both the content background and the normal padding should be aqua (light blue).