CSS Inline Block

by Prasun Roy 06-Jul-16

0 949


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:


Discount Coupons



Comments

    Waiting for your comments

Leave a Reply