https://bugzilla.wikimedia.org/show_bug.cgi?id=27540
--- Comment #12 from [email protected] 2011-07-27 16:32:55 UTC --- I see, it looks like it needs to be floated for this trick to work: <div style="float:left;"> <gallery caption="Cologne"> Image:Köln Panorama.jpg Image:Köln Panorama.jpg Image:Köln Panorama.jpg </gallery> </div> So, it's not quite as straightforward as I thought it was going to be, but I suppose it could still be workable like this: <div style="clear:both;"></div> <div style="float:left;"> <gallery caption="Cologne"> Image:Köln Panorama.jpg Image:Köln Panorama.jpg Image:Köln Panorama.jpg </gallery> </div> <div style="clear:both;"></div> I think that would keep it from floating around more than expected, but it's starting to look like a dirty hack now, and limits user layout options. But, it does seem that the float property causes the width to be constrained to only the amount required. It quickly and easily solves the problem, but maybe causes new ones? I suppose with some more testing, it can be decided whether the ease of fixing the bug this way is worth the potential inconvenience of having it floated by default. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
