In Firefox 3.0.1 (and Flock 2.0) the comment body does not assume the full width available, causing a problem when the comment text is short and does not force the block to its maximum width. This problem does not exist in IE7.

Also, in Firefox the user picture div is forced above the comment text when the comment text becomes wide enough. This results in the uneven left margin. IE7 maintains the user picture div on the left side for all comments.

Attached is a screenshot showing the problem, as well as a screenshot from IE7 where there the display is more consistent.

Comments

lennart’s picture

I can confirm exactly this problem.

drew reece’s picture

Is the picture div forced above the comment text or is is simply collapsing down to a single space? The template.php inserts a non breaking space. Can you try specifying a default image (in admin/user/settings) for the user picture and see if it still collapses. It may be a workaround.

designerbrent’s picture

Version: 6.x-1.2 » 6.x-1.x-dev

The comments probably need to be given a span-x? That could get complicated, however. I wonder what other options we have.

I can confirm that this is a problem in Safari as well.

designerbrent’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
metastate’s picture

I can confirm this is happening in Firefox 3 and Safari 4. Pretty sure the problem is that div.comment-content floats left but has no width.

If you override the CSS to float:none the problem goes away. In my case I am using user pictures though, so having them disabled might throw off the layout, I'm not sure.

designerbrent’s picture

Status: Active » Fixed

This is now fixed in the 2.x dev branch. I'd be happy to commit a patch if someone wants to create one for the 1.x branch. The changes for this commit are here: http://drupal.org/cvs?commit=344618

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.