Index: trunk/extensions/ImageMap/ImageMap_body.php |
— | — | @@ -289,11 +289,12 @@ |
290 | 290 | } else { |
291 | 291 | $marginTop = -20; |
292 | 292 | } |
293 | | - $div->setAttribute( 'style', "height: {$thumbHeight}px" ); |
| 293 | + $div->setAttribute( 'style', "height: {$thumbHeight}px; width: {$thumbWidth}px; " ); |
294 | 294 | $descWrapper = $div->appendChild( new DOMElement( 'div' ) ); |
295 | 295 | $descWrapper->setAttribute( 'style', |
296 | 296 | "margin-left: {$marginLeft}px; " . |
297 | | - "margin-top: {$marginTop}px; " |
| 297 | + "margin-top: {$marginTop}px; " . |
| 298 | + "text-align: left;" |
298 | 299 | ); |
299 | 300 | |
300 | 301 | $descAnchor = $descWrapper->appendChild( new DOMElement( 'a' ) ); |