In the screenshot above the input width exceeds the column width. How to make it fit perfectly inside a column?
Asked
Active
Viewed 62 times
2 Answers
0
You need to give your other columns a high width value such as 45% on the other two colums. The remaining column will then be 10% (max) but will alway fit the data within it.

markt
- 903
- 7
- 21
0
Add this to your CSS file:
td input[type="text"], td select {
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
}

Andrei Volgin
- 40,755
- 6
- 49
- 58
-
Thanks alot. It works as expected. :) http://stackoverflow.com/users/821657/andrei-volgin – Ajinkya Nov 21 '14 at 07:10