How can I prevent the reset.css from clearing out the bold or italic style formats in the kendo editor? since, I need reset.css for other parts of the applications.
Asked
Active
Viewed 627 times
-1
-
Include reset.css before your kendo css files – Pluc Jun 10 '14 at 17:48
-
I already included the reset.css first in the order. it didn't help. – user1331889 Jun 10 '14 at 18:00
-
How is the bold / italic style applied? Which control? Can we have a screenshot? How do you include kendo's control? What have you tried? – Pluc Jun 10 '14 at 18:04
-
If i remove the :font: inherit;" from the reset.css it leaves the bold text. Do I need to overwrite the font related settings? – user1331889 Jun 10 '14 at 18:39
-
http://jsfiddle.net/senthu/PJq3w/ You can check this one here. When I add the reset.css it is not doing the bold on the text. Basically reset removes the style. – user1331889 Jun 10 '14 at 19:57
-
Yep, you'll have to override it. Have you tried a different reset CSS like [normalize.css](http://necolas.github.io/normalize.css/)? – Brett Jun 10 '14 at 20:31
1 Answers
1
I'm not really sure why reset.css wants to change "font" to "inherit" on strong elements but it is not very logic. Kendo editor uses to make text bold so it creates a conflict.
Add this CSS
strong { font-weight: bold }
or
strong { font-weight: bold!important }
or use another reset css like normalize.css
For more information, take a look at this SO question: YUI Reset CSS Makes <strong><em>this not work</em></strong>