styles checkbox accordingly, by giving it an explicit style