HTML output for posts with attachments - simple improvement?

Ad: This forum contains affiliate links to products on Amazon and eBay. More information in Terms and rules

HoHun

Tech Sergeant
1,759
27
Oct 15, 2006
Hello,

I'd like to suggest what I hope is a simple improvement to the forum: Replace an non-breakable space with a simple space in a single (strategically chosen :) location to make posts with images look good on all browsers.

Details:

When a post has multiple attachments, currently the output generated by the forum looks like this (example for three images):

<img ... /> <img ... /> <img ... /> 

The MS Internet Explorer displays the three images stacked vertically (which looks good):

X
X
X

However, Opera accurately honours the   entity as non-breakable space and prevents the "line" consisting of three images to have a break, resulting the the three images being arranged horizontally:

X X X

This generally does not look good - not only do the images go off the right edge of the screen, but actually the entire thread (or page of the thread) is formatted to the full width of the resulting extra-wide post. That means the paragraphs in all of the posts usually consist only of a single line that goes off the right edge and sometimes is several times as wide as the screen. Rather hard to read, I'm afraid!

(In my opinion, Opera's rendition is actually the more accurate one, as   entities are supposed to prevent line breaks.)

If the   entities could be replaced by simple ("invisible") spaces in the template for attachments, that would allow Opera to use the same kind of ergonomic formatting MSIE uses (inaccurately, but fortunately :) uses right now.

Thanks in advance! (If there are any questions regarding the HTML or what it looks like on my screen, just ask!)

Regards,

Henning (HoHun)
 

Users who are viewing this thread

Back