WordPress.org

Ready to get started?Download WordPress

Forums

Oversized comments form, how do I shrink it? (3 posts)

  1. squib
    Member
    Posted 8 years ago #

    Hey,

    I'm working on a heavily customized theme at http://www.resiny.org. The CSS is a little oversized right now, and I'm working on that, but I'm pretty happy with how the site is coming along. So far my biggest problem is that the comments box (where you type in your comment on a post) is stretching to take up a huge chunk of the page (it's about 700px wide, I'd guess)

    I've had this problem before, and I've solved it, but now I can't remember how. Any help you could give with this would be great. Either the CSS element, or whatever else it is that controls this. I've gone through the comments template but I can't fine where it defines the box size.

    thanks

    btw, any feedback on the rest of the design would also be appreciated

  2. justinbaeder
    Member
    Posted 8 years ago #

    This line should be in your comments.php template (I got it by viewing source on your site):
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    Change the cols="100%" to something reasonable, like cols="30", and get rid of the %, as it doesn't work in IE. That should solve your problem.

  3. squib
    Member
    Posted 8 years ago #

    thanks, that worked

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags