I have the following on my interface / webform:
Now I have a condition in my
Me.mydiv.Attributes.Remove("class")
is much better since it won't leave a stub behind. It'll produce a cleaner HTML tag.
If you use this,
Me.mydiv.Attributes("class") = ""
it will produce this instead
OR