adding hover and active styles. fixing id type.