css modifications to prevent unwanted table behavior