BUT
if ‘some number’ is such that the input box is too large, it pushes the cell wider than the value specified in the COLWIDTH
Is there a way to specify that the input box should just fill the cell?
What I mean is that If the input box wants to be smaller than COLWIDTH then it should expand to fill the cell width and if the input box wants to be bigger than the cell then it would just shrink the size of the cell.
Not sure if that is what you wanted. But, you just put in the values you want to use.
Sometimes it is handy or perhaps more useful to use max-width: 50px; instead of just width.