Remove line break HTML -


i'm wondering how remove line break in html. example code have 2 hello worlds on top of each other. i'm sorry if i'm not enough @ programming in site.

<p>hello world</p> <p>hello world</p> 

you've got few options:

p {     display: inline-block; } 

js fiddle demo.

or:

p {     display: inline; } 

js fiddle demo.

if it's white-space between bottom of first p , top of second p want remove:

p {     /*      top  right  bottom  left */     margin: 0    0      0       0; } 

js fiddle demo.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -