Html background color

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
Stefaan
Posts: 30
Joined: Mon Feb 16, 2009 11:36 am

Html background color

Post by Stefaan »

When a html without background color is opened, the background is clBtnFace in the editor.

Html example:

Code: Select all

<html>
  <body>
	Test
  </body>
</html>
How can I display such a html with a white background? Of course, when the html has a background color specified, this color should be used instead of white.

I'm using RvHtmlImporter v0.0032 and RVHTMLViewImporter 1.5.3. The html is opened with TrvActionOpen.
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Change THTMLViewer.DefBackground to clWhite (or clWindow).
Post Reply