Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 6 Style the menu page We will begin by styling the table. Select the table element set the width to 5 0 % so
Part Style the menu page
We will begin by styling the table. Select the table element
set the width to so that the table does not take up the whole space.
add a px solid border with color #d
Select the first row in the table Hint: this is the only tr element in the thead element
set the background color to #d
set the font color to white
Save the changes. You will notice that there are some gap between border and the cell. We
can fix this by collapsing the border
in the declaration block you created in step add a new declaration to set the border
collapse to collapse
Select all the th and td elements
center align the text
set padding to all around
Add borders to split the hot beverages, cold beverages and desserts. Hint: an easy way to do
this is to use the nthchild pseudoclass. Set the border to px solid and of color #D
Select the caption element,
right align the element
make the text bold and italic
The paragraph below the table should have a smaller font. Remove the
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started