]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
some alignment in the table layout
authorEvan Prodromou <evan@status.net>
Tue, 9 Nov 2010 12:04:50 +0000 (07:04 -0500)
committerEvan Prodromou <evan@status.net>
Tue, 9 Nov 2010 12:04:50 +0000 (07:04 -0500)
plugins/EmailSummary/useremailsummaryhandler.php

index d6de6aa05587b1b9ecafdc2bf83d0c7799bc23b3..95b7fdc477ddec07700277faf36254a49bfa2d8a 100644 (file)
@@ -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(' ');