docs: function (out, cssDisplay, margin) {
              var cfg = this._cfg;
              var labelId = (this._labelId) ? 'id="' + this._labelId + '" ' : '';
              var iconInfo = this._icon ? this._icon.getCurrentIconInfo() : null, lineHeight, color;
              if (iconInfo != null) {
                  lineHeight = iconInfo.height;
              }
              if (this._skinObj.states[this._state] != null) {
                  color = this._skinObj.states[this._state].color;
              }
  
              out.write('<span style="');
  
              if (this._skinObj.simpleHTML && cssDisplay != "block") {
                  out.write("padding-bottom: 7px;");
              }
  
              if (lineHeight && ariaCoreBrowser.isOldIE) {
                  out.write('line-height:' + (lineHeight - 2) + 'px;');
              }
  
              if (margin) {
                  out.write('margin-' + margin + ':' + this._labelPadding + 'px;');
              }
              if (cfg.labelWidth > -1) {
                  out.write('width:' + cfg.labelWidth + 'px;');
              }
  
              out.write('text-align:' + cfg.labelAlign + ';display:' + cssDisplay + ';');
              var cssClass = 'class="x' + this._skinnableClass + '_' + cfg.sclass + '_' + this._state + '_label"';
              out.write('vertical-align:middle;"><label ' + labelId + cssClass);
              if (color) {
                  out.write(' style="color:' + color + ';"');
              }
              if (cfg.waiAria) {
                  out.write(' for="' + this._domId + '_input"');
              }
              out.write(this._getAriaLabelHiddenMarkup());
              out.write('>');
              out.write(ariaUtilsString.escapeHTML(cfg.label));
  
              out.write('</label></span>');
          }