Is there a way to make a div element match its contents AND break the line so that the next element is under that div?
I tried setting the display property to inline-block , but then the div no longer breaks the line ... By default, it breaks the line, but does not match its contents.
Hope someone can help me.
Thanks!
source share