Assume you have the following html code: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Add the following internal CSS styling rules to the code; you may use CSS class selectors as needed: For the div The width is 500px. Set the background color to green and the border should be solid yellow color with 5px thickness. The margin distance
Assume you have the following html code: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Add the following internal CSS styling rules to the code; you may use CSS class selectors as needed: For the div The width is 500px. Set the background color to green and the border should be solid yellow color with 5px thickness. The margin distance
Fundamentals of Information Systems
9th Edition
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter10: Ethical, Legal, And Social Issues Of Information Systems
Section: Chapter Questions
Problem 14SAT
Related questions
Question
Assume you have the following html code:
<html><head>
<style>
/* Your code goes here */
</style>
</head><body><div class="container"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p></div></body></html>
Add the following internal CSS styling rules to the code; you may use CSS class selectors as needed:
- For the div
- The width is 500px.
- Set the background color to green and the border should be solid yellow color with 5px thickness.
- The margin distance from the top is 20px.
- For the paragraph “p”
- Set the background color to red, text color to white.
- The padding for all the directions should be 50px.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning