The style declarations which apply to the text below are:
P {background-image: url(bg.gif);} .one {background-image: none;}
This sentence should be backed by an image-- a green grid pattern, in this case. The background image should also tile along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere).
This sentence should be backed by a repeated green-grid image, as should the last three words in this sentence. If it is not, then none
is interpreted incorrectly. (none
means that the element has no background image, allowing the parent to "shine through" by default; since the parent of the words "in this sentence" is the paragraph, then the paragraph's image should be visible.)
This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to "shine through" instead.
TABLE Testing Section | |
This sentence should be backed by an image-- a green grid pattern, in this case. The background image should also tile along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere).
This sentence should be backed by a repeated green-grid image, as should the last three words in this sentence. If it is not, then This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to "shine through" instead. |