This is a follow-up of r77411 an should be also included in 1.17.
Even IE 5.5 is happy. :)
I could be missing something but it seems this moves the block a few lines up. Still display inline-block, not changed to block...
And in r77411:
+ul.gallery { margin: 2px; padding: 2px; background-color: white; + display: block; } +ul.gallery, li.gallerybox { + display: inline-block; + zoom: 1; + *display: inline; }
which also has inline-block overriding display block.
I'm missing the "Make ul.gallery block, not inline-block".
Look at the rule it was moved above. Originally, the first rule specified display: block and the second specified display: inline-block for ul.gallery, so it was inline-block. I switched the order, so the display: block rule wins. It would probably be clearer to make a separate rule for li.gallerybox and duplicate the zoom rule and star hack.