Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Jeditorpane doesnot support HTML Images for baseline

843807Jan 21 2010 — edited Jan 25 2010
Hi 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.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 22 2010
Added on Jan 21 2010
1 comment
185 views