For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Index: trunk/extensions/ImageMap/ImageMap_body.php =================================================================== --- trunk/extensions/ImageMap/ImageMap_body.php (revision 41724) +++ trunk/extensions/ImageMap/ImageMap_body.php (revision 41725) @@ -289,11 +289,12 @@ } else { $marginTop = -20; } - $div->setAttribute( 'style', "height: {$thumbHeight}px" ); + $div->setAttribute( 'style', "height: {$thumbHeight}px; width: {$thumbWidth}px; " ); $descWrapper = $div->appendChild( new DOMElement( 'div' ) ); $descWrapper->setAttribute( 'style', "margin-left: {$marginLeft}px; " . - "margin-top: {$marginTop}px; " + "margin-top: {$marginTop}px; " . + "text-align: left;" ); $descAnchor = $descWrapper->appendChild( new DOMElement( 'a' ) );