I have this CSS:
div#element1 {
width: 100px;
height: 100px;
float: left;
}
div#element2 {
width: 100px;
height: 100px;
float: left;
}
How do I do this without float? I've tried with display: inline-block;
but it doesn't work. Any idea?