I'm supposed to make 3 div
s sit next to each other. So I made a div
and I've put three div
s in, with this css style:
div.holder div {
float: left;
width: 250px;
background-color: yellow;
/*margin-right:auto; /**These did not help**/
margin-left:auto; */
}
And html like this:
<div class="holder">
<div></div>
<div></div>
<div></div>
</div>
And it's supposed to look like this:
And instead, it looks like this:
The border div
s should be aligned with the ending of the grey line.