Default style

Internet Explorer doesn't provide a way to allow default style rules. This can be confusing for new authors, since all alert messages and non-relevant controls will be viewable by default.

A typical default rule for alert would say that any xf:alert that is a child of a valid form control should be 'hidden':

.valid xf\:alert
{
  display: none;
}

A typical default rule for 'disabled' form controls would say that any control that is disabled should be 'hidden':

.disabled
{
  display: none;
}

Note that we use display: none; in both cases, since visibility: hidden; reserves the space that an element would take up.