Exercise: Layout of a table

Add to the CSS so that the page looks like the picture:

course contents

You may need to resize the page for the images to match. (Don't worry if what you create is a magnified version of the example.)

You do not need to change the HTML, nor do you need to change any of the rules provided.

Note:

Hints:

  • undefined

Solution to the exercise

The exercise can be solved by adding padding.

Note:

Hints:

  • undefined
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
<!DOCTYPE html>
<html lang="en">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
th {
    font-size2rem;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX