I'm trying to set two div elements to inline but its not working as expected
html
<div id="id1"></div>
<div id="id2"></div>
css
#id1{
background-color:blue;
display:inline;
height:100px;
width:200px;
}
#id2{
background-color:green;
display:inline;
height:100px;
width:200px;
}