fixed input and added styles to tag spans