CSS - BODY definiton not wanted

General TRichView support forum. Please post your questions here
Post Reply
vega
Posts: 50
Joined: Fri Oct 26, 2007 6:29 am

CSS - BODY definiton not wanted

Post by vega »

I inject CSS generated by RVE into a larger document and I don't want BODY etc. to be redefined by RVE.

I modified the source and got rid of the "body, table /* Normal text */ {...}" definition. Now, the problem is that there is no default defined for rvts0 and rvps0. The browser's default font and color are used when these 2 styles are invoked in HTML.

The same problem occurs with the "p,ul,ol /* Paragraph Style */ {...}" definition.

I really need help on that one before screwing everything up... Maybe I missed something.

Thanks in advance for any pointer, Dan.

PS: I make the suggestion to have a "Export to HTML" section in the forum. It would make things much easier for people who use this very powerful part of RV.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There is an option what does exactly what you want: rvsoNoDefCSSStyle. Include it in the Options parameter of SaveHTMLEx.
Note: this option greatly increases CSS size, because without defining default properties, it is required to specify all properties of all styles explicitly.

I do not think that addition of new forum is necessary. People already have problems to find the proper forum to post.
Post Reply