No building shall hereafter be erected or altered: to exceed the height; to accommodate or house a greater number of families; to occupy a greater percentage of lot area; or to have narrower or smaller rear yards, front yards, side yards, inner or outer courts than is specified herein for the district in which such building is located.