Asked • 04/15/19

How to force a line break in a loooooong word in a DIV?

Okay, this is really confusing me. I have some content inside of a div like so:
Thisisatest.Thisisatest.Thisisatest.Thisisatest.Thisisatest.Thisisatest.
However, the content overflows the DIV (as expected) because the 'word' is too long.How can I force the browser to 'break' the word where necessary to fit all of the content inside?

1 Expert Answer

By:

Edward M. answered • 11/15/19

Tutor
New to Wyzant

Well-versed HTML5 and CSS3 Coder. Knowledgable in photoshop.

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.