Hello,

I put <p> ... </p> around comment field.

I seted width:100px; but it won't work...

When i write long comment, text is going just on right side...

It doesnt fit in 100px;...

Can anyone help me with css?

Thank you very much!

Comments

cfox612’s picture

Are you talking about when you are in the box typing inside the comment input box, or when it's being displayed after submission?

WEBstar’s picture

being displayed after submission...

cfox612’s picture

Without seeing the page it's hard to debug. What is the html and css code for the text and the box containing it?

WEBstar’s picture

<div id="comm"><?php print render($content['comment_body']); ?></div>

#comm{width:100px;padding:9px 0 0 0;font-size:12px;}

cfox612’s picture

What's the content that's running over? Sentences? Numbers? Dates? Can you paste in an example?

WEBstar’s picture

<div id="commentText"><?php print render($content['comment_body']); ?></div>

This is everything in comment.tpl.php

cfox612’s picture

No on the page, you say content isn't staying within the box, what exactly is the content?