Hi Adam,
You can access the elements as BaseElement and set its IsVisible property to be false to change the element''s visiblity.
The style for a element can also be changed through the Attributes["class"].Value property.
Please refer to the sample linked to below:
F23420HTMLUIElementCSS_8850.zip
Regards,
Davis