remove line break after DIV in CSS

Post Reply
chris
Site Admin
Posts: 203
Joined: Mon Jul 21, 2008 9:52 am

remove line break after DIV in CSS

Post 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;
Post Reply