w3c / w3c-website

W3C Website feedback and bug reports
https://www.w3.org/
245 stars 81 forks source link

Allow to define borders for table th/td #678

Open lcarcone opened 1 month ago

lcarcone commented 1 month ago

Some pages we want to redesign have survey results displayed in tables.

Some of these tables can have many columns and are easier to read if each column is separated (especially if there are many responses)

Such tables can be seen at https://w3c.github.io/wbs-design/html/s24-qtypes-results.html#xq13 or https://w3c.github.io/wbs-design/html/s24-qtypes-results.html#xq15 for instance.

For this results page, I added the local css rule td, th { border-right: solid 1px #bdbdbd; }

Can a similar rule be added in the Design System so that it can be selected if needed ?