htmlcssckeditorcss-reset

un-reset css properties when I used css reset?


I use CKEditor for my text editor, when client edit a text with CKEditor and change the font color, font size and ... I store the HTML code in my database and there is no problem.

but when I want to show the HTML Code in my page, the style will reset so many html tags not work, like font size or font color and ...

I use Eric Meyer’s “Reset CSS” 2.0 : http://meyerweb.com/eric/tools/css/reset/

this is CKEditor WYSIWYG screenshot : enter image description here

This is CKEditor HTML Code : enter image description here

And this is result :

enter image description here

and this is firebug screen shot for this layer style : enter image description here

I need to un-reset the CSS for this layer, is it possible ?


Solution

  • You may consider using http://binarystash.blogspot.com/2014/01/unresetcss.html. It restores default HTML styles removed by Eric Meyer's reset.css.