[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTML @multitable table cell width as attribute or inline style?
From: |
Patrice Dumas |
Subject: |
HTML @multitable table cell width as attribute or inline style? |
Date: |
Wed, 18 Sep 2024 11:25:45 +0200 |
Hello,
Right now the @multitable HTML output table td or th elements width is
set with the width= attribute. This attribute is deprecated in favor of
using CSS, but to me this is highly debatable, as the width may be part
of the structure of the table as opposed to styling, more similar to the
colspan attribute. I hoped that this deprecation would be reverted as
has been the case for ol type (for which both CSS and attribute can be
used), but this has not happened for now.
We could change to use inline CSS style for width. We have avoided
using inline CSS style in texi2any for now, all the styling is set
through classes, as should be.
I can imagine that text browsers that try to render tables could use the
width attribute but ignore inline CSS, but I have no evidence.
I think that we have 4 options
1) stay as we are now with width= attribute
2) change to inline style width
3) keep width= attribute but add a customization variable to switch
to inline style width
4) change the default to inline style width and add a customization
variable to switch to attribute width=
Do you have an idea on what would be best?
--
Pat
- HTML @multitable table cell width as attribute or inline style?,
Patrice Dumas <=