CSS Inline Block

by Prasun Roy 06-Jul-16

0 655


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

    No Comments Yet.

Leave a Reply