Changing CSS and row count