Setting CSS rules width:100%; and display:block; for an INPUT element must do this.
In practice, this is not enough, it seems that some browsers emphasize the INPUT size attribute over the style. So, for example, Chrome expands an element to match its size, thereby expanding the column of the table. Setting size=0 does not work, as the default is some valid value. However, setting the attribute size=1 in the INPUT element gives the desired behavior. However, this is not a CSS-only solution, and INPUT cannot be compressed below a certain, but small width.
dronus
source share