Issue:First "column" not top-aligned

From FollowTheScore
Revision as of 19:11, 25 August 2008 by Mendel (talk | contribs) (Using the column= feature, the first column is not top-aligned.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description: Using the column= feature, the first column is not top-aligned.
Extension / Version: DPL   /   1.6.3
Type / Status: Bug   /   open

Problem

The column= feature creates output in columns. All of these columns are created as <td valign="top">, but the first one is not. Presumably someone thought that the first column would always be the longest, which is true for simple lists, but it is not true for the custom template output we use that does not have a fixed height per item. (The template creates what appears to be more than one item to the viewer at times.)

In short:

When using the column= feature, the first table column starts with <td>.
It should start with <td valign="top"> like the other columns.

Example:

<dpl>
  category=Daggers
  uses=Template:WeaponInfo
  columns=5
  includepage={WeaponInfo}.gallery
  format=,,,
</dpl>

Template Weaponinfo.gallery creates output of varying height. Depending on the data, the first column is not top-aligned, leaving a space at the top.


Reply