Background Inheritance - BODY parent

The default background should be transparent. So in this first test, the green background pattern should show through.

1st test: Control. (should have pattern)

If background-color is set to transparent, that should have the same effect.

2nd test: Explicit Transparency. (should have pattern)

Now we will set the background-color to a solid colour (black) so the background pattern should NOT show through.

3rd test: Solid Colour. (should be black)

Finally, the real test. Here, we have given background-color the value 'inherit', so the black of the BODY should inherit and it should look the same as the third test.

4th test: Inherit. (should be black)

Background Inheritance - DIV parent

The default background should be transparent. So in this first test, the green background pattern should show through.

1st test: Control. (should have pattern)

If background-color is set to transparent, that should have the same effect.

2nd test: Explicit Transparency. (should have pattern)

Now we will set the background-color to a solid colour (black) so the background pattern should NOT show through.

3rd test: Solid Colour. (should be black)

Finally, the real test. Here, we have given background-color the value 'inherit', so the black of the BODY should inherit and it should look the same as the third test.

4th test: Inherit. (should be black)