added col/row input, finally got css right