This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Aligning problem" Watch "Aligning problem" New topic
Author

Aligning problem

Roel De Nijs
Sheriff

Joined: Jul 19, 2004
Posts: 7580
    
  36

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
OCAJP 7
Roel De Nijs
Sheriff

Joined: Jul 19, 2004
Posts: 7580
    
  36

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

Joined: May 26, 2003
Posts: 32635
    
215

Roel,
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.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Roel De Nijs
Sheriff

Joined: Jul 19, 2004
Posts: 7580
    
  36

Jeanne,

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Aligning problem
 
jQuery in Action, 3rd edition