inline block and 50% width not aligning items code example
Example: inline block and 50% width not aligning items
body{
margin: 0; /* removing the default body margin */
}
div{
display: inline-block;
width: 50%;
}
.left{
background-color: aqua;
}
.right{
background-color: gold;
}