From ff32fc15cfc5b08525e4a91faa5d12bf3d1735c6 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Fri, 27 Jun 2008 07:22:21 +0000 Subject: [PATCH] Use class=mw_label instead of valign and align --- includes/Xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Xml.php b/includes/Xml.php index 4feff6d22a..8a1ad27f6d 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -638,7 +638,7 @@ class Xml { $id = "mw-$labelmsg"; $form .= Xml::openElement( 'tr', array( 'id' => $id ) ); - $form .= Xml::tags( 'td', array('valign'=>'top','align' => 'right'), wfMsgExt( $labelmsg, array('parseinline') ) ); + $form .= Xml::tags( 'td', array('class' => 'mw-label'), wfMsgExt( $labelmsg, array('parseinline') ) ); $form .= Xml::openElement( 'td' ) . $input . Xml::closeElement( 'td' ); $form .= Xml::closeElement( 'tr' ); } -- 2.20.1