I would like my ad
div to be exactly between the left side of the body, and the middle
div. How would I accomplish that?
body {
border: 1px solid black;
}
#middle {
border: 1px solid black;
margin: auto;
width: 50px;
height: 100px;
}
#ad {
border: 1px solid black;
float: left;
width: 50px;
height: 100px;
}
<div id = "ad"> ad </div>
<div id = "middle"> middle </div>