In article <682ee8f752.harriet@blueyonder.co.uk>,
Harriet Bazley <lists@orange.wingsandbeaks.org.uk> wrote:
> I'm having weird issues with table cell right-alignment in the second
> row of a table.
<snip>
> This code used to display as expected on NetSurf 2.9
NetSurf 2.9 and recent CI builds should render it in exactly the same way.
They do here.
As far as I can tell, you're misunderstanding the "align" attribute. It
simply left/right/centre justifies the *content* of the cell. It has no
affect on the positioning or width of the cell itself.
To achieve what you want you probably need the "colspan" attribute, if
you're actually presenting tabulated data.
Otherwise, if you're abusing the table element to achieve some layout
effect, you may as well have two tables: one for each row. (Which lets
you arrange it so that the positions of the column boundaries on one row
do not affect the positions of columns on the second row, if that's what
you are trying to do.) Or better, use a CSS based layout.
Is that any help? I can't tell exactly what you're trying to do, and the
table you provided behaves as expected.
--
Michael Drake (tlsa) http://www.netsurf-browser.org/
No comments:
Post a Comment