diff --git a/IPython/html/static/notebook/js/outputarea.js b/IPython/html/static/notebook/js/outputarea.js
index 12d39da..2199a08 100644
--- a/IPython/html/static/notebook/js/outputarea.js
+++ b/IPython/html/static/notebook/js/outputarea.js
@@ -422,7 +422,7 @@ var IPython = (function (IPython) {
}
s = s + '\n';
var toinsert = this.create_output_area();
- this.append_text(s, {}, toinsert);
+ this.append_text(s, {}, toinsert, 'output_pyerr');
this._safe_append(toinsert);
}
};