From: Evan Prodromou Date: Tue, 9 Nov 2010 12:04:50 +0000 (-0500) Subject: some alignment in the table layout X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=17ab5c31ed255216a2b734e15e9d11bd4c6fce8b;p=quix0rs-gnu-social.git some alignment in the table layout --- diff --git a/plugins/EmailSummary/useremailsummaryhandler.php b/plugins/EmailSummary/useremailsummaryhandler.php index d6de6aa055..95b7fdc477 100644 --- a/plugins/EmailSummary/useremailsummaryhandler.php +++ b/plugins/EmailSummary/useremailsummaryhandler.php @@ -143,16 +143,19 @@ class UserEmailSummaryHandler extends QueueHandler $out->elementStart('tr'); $out->elementStart('td', array('width' => AVATAR_STREAM_SIZE, - 'height' => AVATAR_STREAM_SIZE)); + 'height' => AVATAR_STREAM_SIZE, + 'align' => 'left', + 'valign' => 'top')); $out->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage($avatar_size), 'class' => 'avatar photo', - 'width' => $avatar_size, - 'height' => $avatar_size, + 'width' => AVATAR_STREAM_SIZE, + 'height' => AVATAR_STREAM_SIZE, 'alt' => $profile->getBestName())); $out->elementEnd('td'); - $out->elementStart('td'); + $out->elementStart('td', array('align' => 'left', + 'valign' => 'top')); $out->element('a', array('href' => $profile->profileurl), $profile->nickname); $out->text(' ');