• Hello Folks- I am trying to add the text of my comments to the front of my site. It works- but if someone copy and pastes a long link to a news article, it runs from outside the side bar. Is there a way to make text that is too long to run into the next line?

Viewing 4 replies - 1 through 4 (of 4 total)
  • One way: place the comment contents in div using a css class with an overflow:hidden property, so any text which goes beyond the width of the div will *disappear*:

    .home_comment {
    overflow: hidden;
    width: 250px;
    }

    Using overflow: auto; would also work by placing comment text in a scroll-able frame.

    But if you’d like a method for actually breaking the text up, let me know as I have an experimental plugin that does just this.

    https://www.coffee2code.com/archives/2004/07/08/plugin-auto-hyperlink-urls/

    I’ve used that to truncate links, works like a charm ??

    Thread Starter mattnaugle2

    (@mattnaugle2)

    Thats an awesome plugin! Thank you ??

    But thanks to Kafkaesqui as well- I am a newbie with css so that is some good info. I shall use it as well. Thanks ??

    That plugin isn’t working for me, and so I’m having some of the same issues.. a long hyperlink throws my whole design out of whack

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments Text-Runoff’ is closed to new replies.