https://bugzilla.wikimedia.org/show_bug.cgi?id=29411

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|when there is a picture on  |Wiki page headings should
                   |the left side of a section, |clear float
                   |the next section starts     |
                   |below the previous          |
                   |section's text, but should  |
                   |be below the picture        |

--- Comment #2 from Krinkle <[email protected]> 2011-06-15 18:17:21 UTC ---
Making bug summary more generic as to it's cause (rather than the result).

<br /> should only be used if a space / line-break is desired. Otherwise use
<div style="clear: left;"></div> (for picture on the right, use "clear: right"
and for both "clear: both".

The reason this is not going to be fixed in core is because there are many
scenarios all over the place in existing wikis that expect and intend to float
elements next to a heading (such as an infobox).

Alternatively headings could only float the left side, but that would break
layouts with a column of (floated) thumbnails on one side, and "left" is also
wrong as there are Right-to-left languages to keep in mind as well.

Not a bug. If you want to clear the left/right "picture space" simply add a
"clear" element (many wikis have created a Template:Clear with <div
style="clear: both;"></div> in it. Then add {{clear}} before a section to be
safe.

If your wiki does not have any floated infoboxes on the left or right side and
you always want to start a new "space", you can add the following to your
MediaWiki:Common.css to automatically apply {{clear}} to all sections:

h1, h2, h3, h4, h5, h6 { clear: both; }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to