CSS Inline Block
0 3827
CSS Inline Block - Instead of float you can use inline-block element. Inline-block element is display property element.
Syntax:
.box {
display: inline-block;
width: 300px;
height: 200px;
margin:10px;
border: 2px solid #ff4504;
}
Share:
Comments
Waiting for your comments