Add a blank line after the header h1 style rule, add a comment with the text Style rules for navigation area, and then create the following style rules for the nav, nav ul, nav li, and nav li a selectors. Create a style rule for the nav selector that sets the background color to #1d396d. Create a style rule for nav ul that sets the list style type to none, sets the margin to 0, and aligns text center. Create a style rule for nav li that sets the display to an inline-block, sets a font size of 1.5em, sets a font family value of Verdana, Arial, sans-serif, and a font weight value of bold. Create a style rule for nav li a that sets the display to a block,
Add a blank line after the header h1 style rule, add a comment with the text Style rules for navigation area, and then create the following style rules for the nav, nav ul, nav li, and nav li a selectors.
- Create a style rule for the nav selector that sets the background color to #1d396d.
- Create a style rule for nav ul that sets the list style type to none, sets the margin to 0, and aligns text center.
- Create a style rule for nav li that sets the display to an inline-block, sets a font size of 1.5em, sets a font family value of Verdana, Arial, sans-serif, and a font weight value of bold.
- Create a style rule for nav li a that sets the display to a block, sets a font color value of #e3eaf8, sets top and bottom padding values of 0.5em and left and right padding values of 2em, and removes the text decoration.
Add a blank line after the nav li a style rule, add a comment with the text Style rules for main content, and then create the following style rules for the main, main p, main h3, and .external selectors.
- Create a style rule for the main selector that sets the padding value to 2%, a font family with values Geneva, Arial, sans-serif, and an overflow value of auto.
- Create a style rule for main p that sets the font size value to 1.25em.
- Create a style rule for main h3 that sets the top padding value to 2% and a font size value to 2em.
- Create a style rule for the id selector image that sets a width value of 45%, a float value of left, and a padding value of 1%.
- Create a style rule for the id selector group that sets a width value of 45% and a float value of right.
- Create a style rule for the class selector external that sets the font color to #1d396d, removes the text decoration, sets the font weight value to bold, and sets the font style value to italic.
Add a blank line after the external id style rule, add a comment with the text, Style rules for footer content, and then create the following style rules for the footer and footer p selectors.
- Create a style rule for the footer selector that aligns text center, sets a font size value of 0.85em, sets a background color value of # 1d396d, sets a font color value of # e3eaf8, and sets top and bottom padding values to 1% and right and left padding values to 0%.
- Create a style rule for footer p that sets the font color value to # e3eaf8 and removes the text decoration.
Include a blank line between each style rule. Validate styles.css and correct any errors.
In index.html, remove the height and width attributes from the word-cloud.png image.
Add a class attribute with a value of external to all anchor elements on Lines 41, 43, and 45.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)