The style declarations which apply to the text below are:
P {background-color: green;} .one {background-color: lime;} .two {background-color: transparent;}
This element's background should be green.
This element's background should be lime (light green).
This element's background should be green, and the last word in this sentence should also have a green background. This is because the background color of the parent element (the paragraph) should "shine through" the SPANned word "sentence," which was set to transparent
. If the document background is visible, the browser is in error.
This element should allow the document background to "shine through." There should be no green backgrounds here!
TABLE Testing Section | |
This element's background should be green. This element's background should be lime (light green).
This element's background should be green, and the last word in this sentence should also have a green background. This is because the background color of the parent element (the paragraph) should "shine through" the SPANned word "sentence," which was set to This element should allow the document background to "shine through." There should be no green backgrounds here! |