Replacing deprecated HTML "center" element.
[squirrelmail.git] / plugins / newmail / testsound.php
index 5fd3ab33b0c03f596cd1a6e95fb10e2908cb8820..a1c7a6e16a09b6ed604db5f8ccc164cb0737d5ce 100644 (file)
@@ -23,10 +23,10 @@ echo '<body bgcolor="'.$color[4].'" topmargin="0" leftmargin="0" rightmargin="0"
 if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) {
     $sound = 'Click.wav';
 } elseif ( $sound == '(none)' ) {
-    echo '<center><form><br /><br />'.
+    echo '<div style="text-align: center;"><form><br /><br />'.
          '<b>' . _("No sound specified") . '</b><br /><br />'.
          '<input type="button" name="close" value="' . _("Close") . '" onclick="window.close()" />'.
-         '</form></center>'.
+         '</form></div>'.
          '</body></html>';
     return;
 }