I am having a hard time with making a "div wrapper" code on my web page.
Here is what is in my HTML File
<!DOCTYPE html>
<title>
<div id="wrapper">
<h1>Sample h1 Heading</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, in culpa qui officia deserunt mollit anim id est laborum</p>
<h2>Sample h2 Heading</h2>
<ul>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
</ul>
<!—-End wrapper—->
And here is what is in my CSS file,
body{
background-color:white;
background-image:url(pix/587e13b9482b2.jpg);
background-repeat:no-repeat;
font: 10pt Arial, Helvetica, Sans-Serif;
color: #5d3f25;
}
#wrapper{
width:900px;
margin:0 auto;
background-color:white;
border:soild 2px #4c2e16;
border-radius:20px;
box-shadow:8px 8px 8px black;
}
h1{
font:italic small-caps bold 24px Arial Black, Gadget, Sans-Serif;
text-shadow:-2px -2px 2px #a48362;
text-align:center;
}
h2{
font:italic small-caps bold 18px Arial Black, Gadget, Sans-Serif;
text-shadow:-1px -1px 1px #a48362;
}
p{
line-height:1.5;
}
I can get everything else to work, i.e. the background, colors, fonts stuff like that, but I can't seem to get the white box background to work. If someone could help me, I would forever be thankful because I am at a loss on how to fix the problem.
This is also the link to the page,
file:///Users/taylargealy/Desktop/Intro%20HTML5/HTML5%20Template.htm
Thanks so much
What I have tried:
I have done everything I have learned, talked to different people, and watched videos on this problem and I can't seem to figure out what is the problem. I am on a Mac computer and have tried Safari and Firefox and nothing has worked. I have even started over with a new document and tried rewriting everything.