Add "clear:right" to right-floating thumbnails, and "clear:left" to left-floating...
authorArne Heizmann <timwi@users.mediawiki.org>
Fri, 18 Jun 2004 23:06:14 +0000 (23:06 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Fri, 18 Jun 2004 23:06:14 +0000 (23:06 +0000)
commitceb884dacd7c4c9c38405deae6e628409234099c
tree45806855fb8cad15912538ab20995b1dff3761b8
parent43b1b99d7e93ca36c361aa526332e980ca18ae35
Add "clear:right" to right-floating thumbnails, and "clear:left" to left-floating ones.

This solves a problem we've had for some time: Two right-floating images with too little text
between them cascade inwards into the middle of the page. Adding more text isn't a viable
solution because "too little text" is more and more text with increasing screen resolution. This
solves it elegantly, I think. Also, since the 'clear' is added only to the right-floating
elements, this does *not* push the text down and does *not* cause blocks of whitespace to occur.
stylesheets/monobook/main.css