• For some reason the comment box extends right when you start typing. Also the words extend beyond the box before wrapping. I cannot figure out why. This is when viewing the individual post and commenting.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Looks okay here in FF and IE6.
    Did you fix it ?

    In your comments.php file, you have this in the textarea tag:

    style="width:98%" cols="100%"

    For some reason, in IE, when you start typing, it pushes it out past the content div. IE can’t get it’s percentages straight and can’t tell what’s containing what.

    I would suggest either removing the style tag and using a fixed width col width, or set the style to a fixed pixel width (which should override whatever’s in the col attribute).

    Thread Starter brianbonner

    (@brianbonner)

    I was looking at that tag,but I don’t know what to replace it with.

    style=”width:300px”;

    That should do, then adjust the 300 to suit.

    Thread Starter brianbonner

    (@brianbonner)

    That fixed it. Should I leave the rest of the code alone? or should I get rid of cols and rows?

    Thread Starter brianbonner

    (@brianbonner)

    Well I deleted rows and columns and it still works fine

    Thread Starter brianbonner

    (@brianbonner)

    OK no, I was looking at comments in the popup window and not comments in the permalink. the above code does not work. I looked at the default code and tried it, but it made the box and post cover the sidebar all the time. You would think the default code would be right. But I did notice it did not use the word style or width, so I modified it to:

    <p><textarea name="comment" id="comment" cols="50%" rows="10" tabindex="4"></textarea></p>

    and that worked fine.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Comment box extends right when typing’ is closed to new replies.