0

I need to set the max-width of a table column to be 20 characters. I'm using the following CSS which works fine.

th{
    width: 13ch;
}

However it does not not work with max-width. If a table cell value is only 10 characters in width I only want it to be 10ch.

Is this possible in CSS to set the min and max width of a table cell

user2016193
  • 117
  • 1
  • 5
  • 11

0 Answers0