display parameter

display: block
comment: for example <div> element takes the whole line as 100% width.

display: inline
comment: for example <div> element takes only own length and leave rest of the line to next elements

Leave a Reply