Template talk:Rotate text#Table column width bug with rotated headings

Table column width bug with rotated headings

When used to rotate the headings of a table, this template produces the wrong table column width, and wrong headings row height; see details in Template talk:Table#Column width bug with rotated headings (solved). I'm not sure if this applies to {{tl|Table}}, {{tl|Rotate text}}, or their interaction. Pol098 (talk) 14:39, 18 January 2017 (UTC)

:{{ping|Pol098}} This isn't a bug per-se with {{tl|Table}} or {{tl|Rotate text}}, this is a property of how CSS handles text transformations. If you are rotating strictly by 90 degrees, instead of using transform:rotate, you can use writing-mode:tb-rl/writing-mode:vertical-rl (tb-rl is deprecated but still more widely supported than writing-mode:vertical-rl). For example: Critical_attribute? results in:

{{table}}

! Critical_attribute?

: --Ahecht (TALK
PAGE
) 19:59, 16 May 2018 (UTC)

::Many thanks for response; I thought I was reporting a bug, but it seems that I was requesting support! Perhaps this should be documented in relevant place(s), e.g. in {{tl|rotate text}} documentation? I don't think I should do it, for now at least, as I don't have any proper knowledge. Pol098 (talk) 20:55, 16 May 2018 (UTC) (later) I have updated Template talk:Table#Column width bug with rotated headings (solved) to include the code suggested by Ahecht, with an example.