Change the style of a markable element.