Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

CHAPTER 17 CSS TECHNIQUES > Test Yourself

Test Yourself

See how well you picked up the CSS techniques in this chapter with these questions. As always, the answers are available in Appendix A.

1. Match the style rules with their respective tables in Figure 17-16.

Image

Figure 17-16. Match these tables with the code examples in Question 1.

table { border-collapse: collapse;}     ___________
td { border: 2px black solid; }

table { border-collapse: separate; }    ___________
td { border: 2px black solid; }

table {                                 ___________
  border-collapse: separate;
  border-spacing: 2px 12px; }
td { border: 2px black solid; }

table {                                  ___________
  border-collapse: separate;
  border-spacing: 5px;
  border: 2px black solid; }
td { background-color: #99f; }

table {                                  ___________
  border-collapse: separate;
  border-spacing: 5px; }
td {
  background-color: #99f;
  border: 2px black solid; }


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial