Height « JEditorPane « Java Swing Q&A





1. The line-height css property does not work in a JEditorPane. Can anyone help?    stackoverflow.com

When I place the following html in a JEditorPane, the line-height attr is not obeyed (the font and color ones are though). Does anyone know what I am doing wrong? I ...

2. JEditorPane - IMG tag without HEIGHT parameter    stackoverflow.com

In JEditorPane with html content:

...
<img src="x.jpg" width="100" border="0" />
...
(e.g image is (500x700)) Firefox or chrome or any other browsers view this image as 100x140 on page
(140 = 700 / (500/100))
but JEditorPane ...