[dev] Alignment of "expand down" arrow in portal layout

Rick Emery rick at emery.homelinux.net
Fri Feb 6 08:04:40 PST 2004


Some changes made recently to horde/templates/portal/layout.inc caused my
"expand down" arrows to be left aligned within the block (instead of centered,
as before).

Looking at the code (layout.inc, line 51), in the td tag, align="center" was
replaced with fakealign="center". A check of my horde tree didn't reveal
"fakealign" anywhere, and google searches didn't provide any information on
that attribute.

In case this was a mistake, I've attached a patch to change it back. If it
wasn't, sincec I'm trying to learn html anyway, could someone point me to
documentation that explains the fakealign attribute and what it does?

Thanks in advance,
Rick

--
Rick Emery

"When once you have tasted flight, you will forever walk the Earth
 with your eyes turned skyward, for there you have been, and there
 you will always long to return"
                                              -- Leonardo Da Vinci
-------------- next part --------------
Index: layout.inc
===================================================================
RCS file: /repository/horde/templates/portal/layout.inc,v
retrieving revision 1.12
diff -u -r1.12 layout.inc
--- layout.inc	27 Jan 2004 21:57:45 -0000	1.12
+++ layout.inc	6 Feb 2004 15:55:35 -0000
@@ -48,7 +48,7 @@
     </td>
   </tr>
   <tr>
-    <td colspan="3" fakealign="center">
+    <td colspan="3" align="center">
         <?php if ($layout->getHeight($row, $col) > 1) echo $layout->getControl('shrink/down', $row, $col) ?>
         <?php echo $layout->getControl('expand/down', $row, $col) ?>
     </td>


More information about the dev mailing list