Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The entire content of the page is nested within a div element with the id page.

ID: 3801471 • Letter: T

Question

The entire content of the page is nested within a div element with the id page.
Create a style rule for this element to: a) set the background color to the value (255, 255, 128) and display the background image file, bluebar.png, tiled vertically along the left edge; b) add a ridged 15-pixel-wide border with a color value of (70, 76, 222); c) add rounded corners with a radius of 50 pixels; d) set the width and height to 900 pixels and 750 pixels, respectively; and e) horizontally center the div ele- ment within the browser window, setting its top margin to 10 pixels, setting its bot- tom margin to 200 pixels, and using auto for the left and right margins.

Please write this out as you would add it to a css style sheet.

Explanation / Answer

HML CODE:

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="efgh.css">
</head>
<body>
<div class="container1">
<p></p>
</div>
</body>
</html>

CSS CODE:

.container1{
background-color:rgb(255,255,128);
background-image: url("C:Userslenovo pcDesktopbcdimages/download.png");
background-position: left top;
background-repeat: no-repeat;
border-width:15px;
border-color:rgb(70,76,222);
border-radius:50px;
width:900px;
height:750px;
float:center;
margin-top:10px;
margin-bottom:200px;
margin-left:auto;
margin-right:auto;
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote