Jeditorpane doesnot support HTML Images for baseline
843807Jan 21 2010 — edited Jan 25 2010Hi All,
I have an issue with Jeditor pane supporting HTML. It a issue with the baseline where the inline images do not align correctly with the text.
I have tried different things like..
- adding align="bottom / middle / absbottom" to the image tag (worked in Firefox but not viewer)
- adding style="vertical-align:BOTTOM" to the image tag (worked in Firefox but not viewer)
- adding <sub></sub> around image tag (worked with words in viewer, but image still floating)
- adding vertical-align: baseline to the span/style attribute (works in Firefox, not in viewer)
- Switching <span> to <a> in attempt to anchor it to the baseline (works in Firefox, not in viewer)
Note :viewer is my container for the Jeditor pane.
Any other ideas?
Thanks,
Sharma.