I want to reduce the gap between successive rows of an html table which is displayed in a JEditorPane. Either I have to use the HTMLDocument or the HTMLEditorKit. Can anyone plz help me out in this b'coz it is not reflecting me any change when I run the applet.