WordPress.org

Ready to get started?Download WordPress

Forums

How can I force to respect the comment-margin? (3 posts)

  1. Homercio
    Member
    Posted 9 years ago #

    Hi,

    First sorry for my English, it's not very good :P

    My question is, if in my blog (http://www.homah.net) you put a comment with, for example, 30 a's together, the word broke the margin. How can I force to respect the comment-margin? How can I divide the word?

    Thnks a lot

    a example of the problem is: http://www.homah.net/?p=20

  2. ifelse
    Member
    Posted 9 years ago #

    If you don't mind scroll bars polluting the page, you can add

    p {
    overflow:auto;
    }

    to your css file.

    If you want the overflowing text to be removed, set a width for the comment block, and set overflow to hidden. IE supports the CSS2 property word-wrap: break-word; but unfortunately, this isn't supported in Mozilla/Firefox

  3. TerraFrost
    Member
    Posted 9 years ago #

    Force Word Wrapping does just what you want, without creaing horozontol scroll bars, or any random CSS.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.