Pvtrixx Pvtrixx - 2 years ago 93
CSS Question

CSS Line Breaking with Image

As we all know we use

to break the lines in websites... But I would like to have image as line breaker. Like example:

Here is some text and I will line break it like this ->

-* -* -* -* -* -* -* -* -* -* -*
and some more text here

How I can do it?

Answer Source

Give it a block display:

img {
  display: block;
Lorem ipsum <img src="https://placekitten.com/100/100" /> dolar sit amet

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download