Question: Update the CSS to configure the following: 1 . The table element selector. Code a new style rule for the table element selector that configures

Update the CSS to configure the following:
1. The table element selector. Code a new style rule for the table element selector
that configures a centered table (use margin-left: auto; margin-rigth:
auto;) with an 60% width, a 1 pixel purple (#3F2860) border, a 1em bottom margin,
and no cell spacing (use border-collapse: collapse; ).
2. The td, th element selectors. Code a new style rule for the table cells (td and th
elements) that configures 0.5em of padding and 1 pixel purple border (#3F2860).
3. The tr:nth-of-type(even) pseudo-class selector. The table looks more appealing if
the rows have alternate background colors but is still readable without them (this is often
called zebra striping). Apply the alternate-row pseudo-class selector to configure the
even table rows with a #D7E8E9 background color.
4. Configure table caption. Code a new style rule that sets a 1em margin, bold text, and
120% font size.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!