0

I have an element structure like this:

<div><span></span>My text goes here</div>

both the div and span are positioned absolutely i want the div to expand out to a certain point then wrap to the next line after say 200px.

At the moment the text breaks pretty much after every other word to a new line, i can fix this by using white-space: nowraphowever this stops the text from wrapping at all.

How can i get the text the wrap but after a certain width?

Jai
  • 2,096
  • 5
  • 25
  • 37

1 Answers1

0

I don't know if I'v got it, but why you don't just put the div width: 200px;?

Mateus Neves
  • 304
  • 5
  • 16