• Resolved dakkie15

    (@dakkie15)


    Hello,

    im building and styling my comment template, but the following,

    when a person makes a comment that is to long, i go’s out of the div.

    i cant seem to find the problem.

    https://www.dkers.nl

    Greetings Daniel

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dakkie15

    (@dakkie15)

    https://dkers.nl/?page_id=395 this is the actual link.

    If you changed <div id="tekstcomments"> to the more correct <div class="tekstcomments">, you might then be able to limit the width of the the p tag using .tekstcomments p. also,. bear in mind that you’re testing by posting long strings of letters with no spaces – something is highly unlikely to happen in real comments. Some lorem ipsum text might be better as it simulates real written language.

    Thread Starter dakkie15

    (@dakkie15)

    Changed it, but it did’t matter.

    indeed i did a test with with nu enters, but then again i should automaticly break the long word?

    i tested it with enters, then its break what i wanted.


    then i should set the overflow:hidden; ?

    You could set overflow to hidden in case someone does input a huge line string of characters with no spaces. It shouldn’t impact on normal comments.

    Thread Starter dakkie15

    (@dakkie15)

    Thanks for the respons,

    yes i dit set the overflow to hidden, if someone is going to type in a unique long word ??

    Thanks for helping, Gr, Daniel

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text comment oud of div’ is closed to new replies.