Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2599 > unrolled thread
| Started by | "tony" <tony@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:40 +0000 |
| Last post | 2011-04-27 15:40 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.java.gui
Align of images and text "tony" <tony@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: Align of images and t "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: Align of images and t "tony" <tony@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
| From | "tony" <tony@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:40 +0000 |
| Subject | Align of images and text |
| Message-ID | <1191632184.412863.111580@o3g2000hsb.googlegroups.com> |
To: comp.lang.java.gui Good day. I try to align image and text by center (on horizontal line) in JTable cell. I use "<html><img src="..." />Some text</html>" as a getValue. A text is now aligned with bottom edge of image (as I can see it). Does anybody know how to do center them? Tony. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:40 +0000 |
| Subject | Re: Align of images and t |
| Message-ID | <uomeg351el3bvdopiri0omlqdftc6fr9un@4ax.com> |
| In reply to | #2599 |
To: comp.lang.java.gui On Fri, 05 Oct 2007 17:56:24 -0700, tony <tony.aldrich@gmail.com> wrote, quoted or indirectly quoted someone who said : >I use "<html><img src="..." />Some text</html>" as a getValue. A text >is now aligned with bottom edge of image (as I can see it). >Does anybody know how to do center them? I don't know how broken the Java rendering engine is, but you can use <div align="center"> or <div style="text-align:center;"> in ordinary HTML -- Roedy Green Canadian Mind Products The Java Glossary http://mindprod.com --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "tony" <tony@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:40 +0000 |
| Subject | Re: Align of images and t |
| Message-ID | <1191765165.530455.59690@22g2000hsm.googlegroups.com> |
| In reply to | #2600 |
To: comp.lang.java.gui Thanks, I found out that <div align="middle"> does something like centering I want to have, not so good by the way, text is a little higher than image. > I don't know how broken the Java rendering engine is, but you can use > <div align="center"> > or <div style="text-align:center;"> > in ordinary HTML --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web