• Resolved autox420

    (@autox420)


    How do i break the line if the sentence reaches width of 700px?
    Its seems like instead of breaking it it just keeps on and makes a scrollbar.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Normally that doesn’t happen: long lines of text should wrap automatically, as you can see at the SAC Demo. For example, try entering this long text to see how it works:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pharetra libero a nunc vehicula faucibus. In hac habitasse platea dictumst. Duis posuere augue ex, rutrum aliquam sem commodo nec. Vivamus ac dui est. Vivamus vestibulum lorem massa, at maximus turpis consectetur in. Aenean tincidunt enim urna, eu accumsan nisl euismod eu. Sed vitae auctor tellus.

    So if the auto-wrapping is not happening in your case, it could be that your theme (or maybe a plugin or something) is overriding the default CSS styles. If you have a URL where I can see the form, I would be glad to take a look.

    Thread Starter autox420

    (@autox420)

    Edited.

    • This reply was modified 6 years, 5 months ago by autox420.
    Plugin Author Jeff Starr

    (@specialk)

    It looks like you have modified the default SAC CSS. I recommend changing it back to the default values and trying again. In general, I am unable to help with any custom code (including CSS). Also, I would change the password to that test account immediately, or delete it. It is never a good idea to post sensitive information online.

    Thread Starter autox420

    (@autox420)

    Yes ok.

    Plugin Author Jeff Starr

    (@specialk)

    If you see the same thing after restoring the default CSS, then let me know and I can take another look. If so, please use my contact form to send any login infos:

    https://perishablepress.com/contact/

    Thread Starter autox420

    (@autox420)

    Why did you mark resolved when it wasnt?

    I solved it my self.

    div#sac-output{float:left;width:857px;height:300px;overflow:auto;display: block;word-wrap: break-word;}

    Plugin Author Jeff Starr

    (@specialk)

    Awesome, autox420. Glad that you found a solution. Thank you for using Simple Ajax Chat.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Break line no overflow’ is closed to new replies.