File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Aligning problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Aligning problem" Watch "Aligning problem" New topic

Aligning problem

Roel De Nijs

Joined: Jul 19, 2004
Posts: 5139

I have a 3x3 table and in the middle cell there is a big picture. In all other cells there are small ones.
I use this code to indicate a cell and give it his content:

but the big problem is that it doesn't align at the bottom of the cell. if i change the above code to:

and it works just fine.

Anyone a solution for this annoying problem? And i really need the html:image because when user clicks it has to submit the form.

many thanks!

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
Roel De Nijs

Joined: Jul 19, 2004
Posts: 5139

is there nobody that has a solution for this ?
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30123

I think the problem might be the html:form tags. Some browsers provide a lot of extra white space around a form. Try moving the form tags outside your table to see if that helps.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Roel De Nijs

Joined: Jul 19, 2004
Posts: 5139


You are right, that's the problem. I moved the <html:form> tag outside the table and it works fine.

You're my saving angel and a big to you. I could almost kiss you
[ July 27, 2004: Message edited by: Roel De Nijs ]
Consider Paul's rocket mass heater.
subject: Aligning problem
Similar Threads
problem incrementing loop in jstl
hitting the enter on the keyBoard should default to "YES" button on the html/jsp page
problem in html:image
problem with mouse over "alt"
Multiple bundles broke my app(properties file)