How to custom-define the default background colour
We use JEditorPane to display HTML content. If the html content is something like this:
<html>
<div style='background-colour:;'>
<p>
content goes here
</p>
</div>
</html>
Then the background colour is set to black (which is the default one if the bgcolor attribute value is null). If there is no background-color attribute, content is displyed with white background. How to change the default value for the background colour??????
|