WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS textarea width doesn't make sense (5 posts)

  1. sevenglaciers
    Member
    Posted 1 year ago #

    Site

    The textarea at the very bottom where you input your comment is set to 554px, but it's much wider than that. It has 0 padding and 0 margin, so I don't understand what's going on. please help. thank you :)

  2. Jose Castaneda
    Member
    Posted 1 year ago #

    A lot of that reasoning is the border. Since by default it will always add a 1px border all the way around ( most browsers ) it now is 556px. Unless you mean like drastically different.

  3. sevenglaciers
    Member
    Posted 1 year ago #

    I mean drastically different.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    This is set to 500px - is that what you mean?

    .commentlist .comment-body {
        background: none repeat scroll 0 0 #EFEFEF;
        margin: 10px 0;
        padding: 10px;
        position: relative;
        width: 500px;
    }
  5. sevenglaciers
    Member
    Posted 1 year ago #

    that worked! thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic