Revised Question The entire content of the page has been enc

Revised Question:

The entire content of the page has been enclosed in a div container element with the id container. Create a style rule for this container to: a) set the width to 1000 pixels; b) center the container in the browser window by settin the top/bottom margins to 0 pixels and the left/right margins to auto: c) display a 1-pixel solid black border on the left and right edges; and d) set the background color to white and display the redbar.png image file as the background image, placing the image file in the top-left corner of the container and tiling it in the vertical direction only.

Solution

<html>

<head>

<title>Heading</title>

<style>

#container

{

width:1000px;
margin-top:0px;
margin-bottom:0px;
margin-right:auto;
margin-left:auto;
border:1px solid black;
background: url(redbar.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: 0px 0px;
background-repeat: repeat-y;
}

</style>

</head>

<body>

<div id=\"container\">

</div>

</body>

<html>

Revised Question: The entire content of the page has been enclosed in a div container element with the id container. Create a style rule for this container to:

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site