The interactive map has been enclosed in a section element with the id map. For
ID: 3801483 • Letter: T
Question
The interactive map has been enclosed in a section element with the id map. For the map section, create a style rule to: a) place it using relative positioning (do not specify the top or left coordinate); b) set the background color to white, with the lpmap.jpg image file as the background image placed in the top-left corner with no tiling; c) add a 1-pixel-wide solid black border; d) float the section on the left with a left margin of 30 pixels; and e) set the width and height to 600 pixels and 294 pixels, respectively. Create a CSS rule
Explanation / Answer
#map{
position: relative;
background-image: url("lpmap.jpg");
background-position:left top;
background-color: white;
background-repeat: no-repeat;
border: 1px solid black;
height: 600px;
width: 294px;
margin:0px 0px 0px 30px;
float: left;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.