Hi,
I am having a very hard time finding the right documentation/example on how to override the default formatting/css that is occurring in a RichTextBox that is loaded with HTML.
I have already found and tweaked the appropriate settings to make the HTML a fragment, but for the life of me I can't seem to figure out how to declare the css that I would liked applied to the HTML within the RichTextBox.
A perfect example is I need the following css to be applied to the HTML content.
<style type="text/css">
ol {
list-style-type: upper-roman;
}
ol ol {
list-style-type: upper-alpha;
}
outline.css (line 5)
ol ol ol {
list-style-type: decimal;
}
</style>
Any help would be greatly appreciated.
I am having a very hard time finding the right documentation/example on how to override the default formatting/css that is occurring in a RichTextBox that is loaded with HTML.
I have already found and tweaked the appropriate settings to make the HTML a fragment, but for the life of me I can't seem to figure out how to declare the css that I would liked applied to the HTML within the RichTextBox.
A perfect example is I need the following css to be applied to the HTML content.
<style type="text/css">
ol {
list-style-type: upper-roman;
}
ol ol {
list-style-type: upper-alpha;
}
outline.css (line 5)
ol ol ol {
list-style-type: decimal;
}
</style>
Any help would be greatly appreciated.