WordPress.org

Ready to get started?Download WordPress

Forums

Comment block text going across the screen (5 posts)

  1. HorrorUK
    Member
    Posted 3 years ago #

    I'm trying to figure out what is going on with my comemnt block, but don't seem to be gettign very far.

    I've figured out how to keep the comment blkock to a certain size in pixels, but I have doejn a etxt on long lines of words, and they shoot across the screen.

    Is there a way to stop that happening?

    Also, is there a way to put in a percentage for the comment block, and have it as the percentage of that div?

    This is the site:

    http://test.wpsingle.com/?p=1

    Don't worry about the colours, that's for me testing. The green is the fdiv and the red is the comment block code.

    Thanks

  2. L B
    Member
    Posted 3 years ago #

    Add this to #commentblock styles: overflow: hidden; to hide the extra text.

    To use a percentage for the comment block, change:

    width: 500px; to width: 80%; /* whatever percentage you want */

  3. HorrorUK
    Member
    Posted 3 years ago #

    Thanks :o) That should sort it.

  4. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

  5. HorrorUK
    Member
    Posted 3 years ago #

    thanks, that looks like a good alternative.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.