I am using a JEditorPane for displaying text which is in an html form. I have written the html tags in the java code itself. The code also contains css inline style for reducing the gap between successive rows of an html table. When i run this html code in a browser I am able to see the changes which are made using css for line-height. But the same code when written in java doen not reflect me any changes regarding the line-height. All other css parameter values such as color,etc. can be seen working properly in the JEditorPane.
The only change JEditorPane cannot reflect is the line-height value of css for successive row gap.
Can anyone plz help me out with this. Help will be heartedly appreciated.