How do you define the style of the table of contents from HTML CSS? I have tried a number of things as follows:
- Setting the body CSS but this seems to be ignored within the ToC. I would have expcted when using InsertHTML to a blank document the base styles (Normal and Default Paragraph) do not pick up the styles defined in the body CSS of the HTML.
- Creating Toc1 CSS class.
- Wrapping the ToC in a div with a class set that has an explicit font.
- Setting useBuilderFormatting on InsertHtml
Attached is a sample project that shows this occuring and also included in the zip is an expected output.
ImageSizeIssue.zip (391.8 KB)