OL Learn

How do I keep the width of the columns static in my detail table?

Hello,

I realize that an HTML table should be responsive in some contexts but in the print context very often we need the size of the columns to be static. How do I change my detail table so that the width of my columns will remain the same?

set “table-layout: fixed” in table’s css and set widths of columns in the first row