Fixed lists table alignment.
authorshort <>
Thu, 16 Oct 2003 11:31:51 +0000 (11:31 +0000)
committershort <>
Thu, 16 Oct 2003 11:31:51 +0000 (11:31 +0000)
project/captive/Index.html.pl

index e66f7d5..de47a40 100755 (executable)
@@ -40,7 +40,7 @@ my $W=My::Project->init_project(
 .stuff  { font-style: italic; font-size: larger; margin-left: 20%; margin-right: 10%; }
 .re     { font-style: italic; }
 table.mailman > * /* FIXME: What is it? */ > tr > th,
-table.mailman > * /* FIXME: What is it? */ > tr > td { padding: 1ex; }
+table.mailman > * /* FIXME: What is it? */ > tr > td { padding: 1ex; text-align: center; }
 ",
                "no_job"=>1,
                );
@@ -306,8 +306,7 @@ print <<"HERE";
 <a name="lists"><h2>Mailing Lists</h2></a>
 
 <form action="@{[ top_dir("/Mailman.pl") ]}" method="post">
-       <table border="1" class="mailman"
-                       style="text-align: center; border-collapse: collapse; border-style: solid; border-width: 1px;">
+       <table border="1" class="mailman" style="border-collapse: collapse; border-style: solid; border-width: 1px;">
                <tr>@{[ map("<th>$_</th>",@lists) ]}</tr>
                <tr><td>New versions announcements<br />
                        (low traffic, recommended)</td><td>User support</td><td>Development</td></tr>
@@ -319,7 +318,7 @@ print <<"HERE";
                                        .' /> Subscribe?</td>'),@lists)
                        ]}</tr>
                <tr><td colspan="3">
-                       <table border="0">
+                       <table border="0" style="text-align: left;">
                                <tr><td>Email address:            </td><td><input type="text"     name="email"   size="30" /></td></tr>
                                <tr><td>Your new Mailman password:</td><td><input type="password" name="pw"      size="15" /></td></tr>
                                <tr><td>Reenter your password:    </td><td><input type="password" name="pw-conf" size="15" /></td></tr>