I am trying to make a div stay to the side of another div. My main div is in the center of the page. I want the other div to stay on the side. http://jsfiddle.net/vgd9yr5s/1/
<body>
<div id="Home">
<img src="Home.png" alt="Main div">
</div>
<div id="Left">
<img src="Left.png" alt="Left div">
</div>
body {
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding: 0px;
margin: 0px;
background: #000000;
}
#Home {
position: absolute;
top: 50%;
left: 50%;
margin-top: -128px;
margin-left: -128px;
width: 256px;
height: 256px;
}
This is how far I have gotten. Sorry for newbie questions.