The style declarations which apply to the text below are:
.zero {background-color: silver; padding-top: 0;} .one {padding-top: 0.5in; background-color: aqua;} .two {padding-top: 25px; background-color: aqua;} .three {padding-top: 5em; background-color: aqua;} .four {padding-top: 25%; background-color: aqua;} .five {padding-top: -20px; background-color: aqua;}
This element has a class of zero.
This element should have a top 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 top 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 top padding of 5 em, 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 top 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). This will require extra text in order to test.
This element should have no top 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 top 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 top 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 top padding of 5 em, 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 top 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). This will require extra text in order to test. This element should have no top padding, since negative padding values are not allowed. Both the content background and the normal padding should be aqua (light blue). |