• Resolved matleouf

    (@matleouf)


    Hi !

    I’d like to be able to adapt the quantity of text to the width and height of a div.
    Actually, when I put too much text in my div, it just “overflows” and goes outside its borders.
    Is there any way to know if some text will overflow one div, and adapt it ?
    I could always count the number of chars I can put in the box and adapt to it, but there’s also an image inside the div and it could screw things up (not counting the use of bold text…).

    If anyone has a solution, I’d be glad to read it 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adapting text to fill a div’ is closed to new replies.