Page 1 of 1

remove line break after DIV in CSS

Posted: Thu Jul 14, 2022 10:58 am
by chris
a div show as a block and with a new line.
In some cases you dont want that.

You do this by adding the inline display ellemen in CSS.

Code: Select all

display:inline;
or

Code: Select all

display:inline-block;