- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Sat, 30 Jul 2022 19:23:46 +0000
- To: public-css-archive@w3.org
To select cells that are in columns 1-5, the spec defines `:nth-col(-n+5)` https://drafts.csswg.org/selectors-4/#the-nth-col-pseudo More in general, to select cells that are in columns A-B, `:nth-col(n+A):nth-col(-n+B)`. For rows you can similarly use `:nth-child()` or `:nth-of-type()` in order to count `<tr>`. It may be tricky if you want row indices in the whole table, but you have multiple tbodies and a thead, but should work well in simple cases. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7543#issuecomment-1200280920 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 30 July 2022 19:23:48 UTC