switching an a tag to a div