1

I am using reset css for my application which includes ck editor, i dont want the reset css should be applied for the output of CK editor inside my html page. How to unset the reset css for the particular portion of a page?

2 Answers2

0

Give the CK output a class. Write your own CSS code after the reset.css code. Refer to the class and give it the properties that you prefer. For example:

index.html:

<p>Normal text formatted by reset.css</p>
<span class="my-format"><p>Output of CK editor to be formatted by my CSS</p></span>

style.css:

@import url("reset.css");
/* My code goes down here: */
.my-format { font: normal 14px georgia,times,serif; }
Geoffrey Hale
  • 10,597
  • 5
  • 44
  • 45
-2

You havent quite understood the point of a reset.css, have you?

You cannot apply some CSS to make all browsers read the css differently (like the do before, like padding, margin, lineheight, zoom and other things)

Jan Dragsbaek
  • 8,078
  • 2
  • 26
  • 46