background-color: #47476b; } nav ul { margin: 0;} nav li {     display: block;     font-size: 1.5em; font-family: Verdana, Arial, sans-serif; font-weight: bold; } nav li a { display: block; color: #e3eaf8; padding: 0.5em 2em; }   main p {     font-size: 1.25em; } main h3 {     padding-top: 2%;     font-size: 2em; }

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
I have this one question that has multiple objectives, I've done the first 3 correctly but I'm stuck on the last points. I've added the code below, and the objetives are listed here: 
 
1d. Correct the style rule for the h1 selector located in the header element to center-align its content.
 
1e. Correct the style rule for the list item elements within the nav to display the list as an inline-block.
 
1f. Update the style rule for the main selector that sets the overflow property to auto.
 
1g. Update the style rule for the footer selector to clear a float on the left.
 
1h. Remove the underline from all nav links using the text-decoration property.
 
1i. Create a style rule for anchor elements within the main element that sets the font color value to #47476b, removes the underline, sets a font-weight value of bold, and sets a font style value of italic.

Adjust the width value for the cssl, css2, and css3 id selectors so that they appear next to each other horizontally.

1j. In the nav element in the index.html file, do the following :

  • link the text, W3C, to https://www.w3.org/
  • link the text, W3Schools, to https://www.w3schools.com/
  • link the text, CSS Working Group, to https://www.w3.org/Style/CSS/members
  • link the text, CSS Current Work, to https://www.w3.org/Style/CSS/current-work
 
 
Student Name: _____________
  File Name: styles.css
  Date: 10/13/2021

 

#css1, #css2, #css3 {
    width: 40%;
    float: left;
    padding: 0 1%;
}footer {
    text-align: center;
    font-size: 0.85em;
    color: #47476b;
    padding: 1% 0;
    border-top: 3px solid #47476b;
}body {
    padding 2%;
    background-color: #d1d1e0;
} main {
    padding: 2%;
    font-family: Geneva, Arial, sans-serif;
} header h1 {
    start
    text-align: center;
    font-size: 3em;
    font-family: Georgia, Times, serif;
    padding: 3%;
    color: #47476b;
} nav {
    background-color: #47476b;
} nav ul { margin: 0;} nav li {
    display: block;
    font-size: 1.5em; font-family: Verdana, Arial, sans-serif; font-weight: bold;
} nav li a { display: block; color: #e3eaf8; padding: 0.5em 2em; }

 

main p {
    font-size: 1.25em;
}
main h3 {
    padding-top: 2%;
    font-size: 2em;
}

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY