com web/php: standard table cells vertical-align to top: mailing-lists.php styles/site.css

From: Date: Thu, 02 Aug 2012 09:56:07 +0000
Subject: com web/php: standard table cells vertical-align to top: mailing-lists.php styles/site.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14035@lists.php.net to get a copy of this message
Commit: d15df71865dd3563852ab7849530c359b5cf6be8 Author: Peter Cowburn <petercowburn@gmail.com> Thu, 2 Aug 2012 10:56:05 +0100 Parents: c30e1a9ee1b74b9b343358e2eae0e66d4de03c8c Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d15df71865dd3563852ab7849530c359b5cf6be8 Log: standard table cells vertical-align to top The mailing lists table keeps its middle alignment. Changed paths: M mailing-lists.php M styles/site.css Diff: diff --git a/mailing-lists.php b/mailing-lists.php index 816e7e2..2f70505 100644 --- a/mailing-lists.php +++ b/mailing-lists.php @@ -295,7 +295,7 @@ if (isset($_POST['maillist'])) { // Print out a table for a given list array function output_lists_table($mailing_lists) { - echo '<table cellpadding="5" border="0" class="standard">', "\n"; + echo '<table cellpadding="5" border="0" class="standard mailing-lists">', "\n"; while ( list(, $listinfo) = each($mailing_lists)) { if (!is_array($listinfo)) { echo "<tr><th>{$listinfo}</th><th>Moderated</th><th>Archive</th>" . diff --git a/styles/site.css b/styles/site.css index d128dc3..b25f5b3 100644 --- a/styles/site.css +++ b/styles/site.css @@ -470,6 +470,7 @@ div.xmlcode span.string { table.standard td { background-color: #eeeeee; color: inherit; + vertical-align: top; } table.standard th { background-color: #cccccc; @@ -493,6 +494,11 @@ table.standard th.subl { vertical-align: top; } +/* Mailing lists tables --------------------------------------------------- */ +table.mailing-lists td { + vertical-align: middle; +} + /* Mirror listing tables -------------------------------------------------- */ table.mirrors td { background-color: #eeeeee;

« previous php.webmaster (#14035) next »