BUG#187, BUG#669 Fix centered images. span apparently didn't work properly
authorJens Frank <jeluf@users.mediawiki.org>
Mon, 11 Oct 2004 20:03:24 +0000 (20:03 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Mon, 11 Oct 2004 20:03:24 +0000 (20:03 +0000)
includes/Skin.php

index c3cae13..41fa58a 100644 (file)
@@ -1738,8 +1738,8 @@ class Skin {
                        }
                        if ( 'center' == $align )
                        {
-                               $prefix  = '<span style="text-align: center">';
-                               $postfix = '</span>';
+                               $prefix  = '<div class="center">';
+                               $postfix = '</div>';
                                $align   = 'none';
                        }