aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Aligning problem" Watch "Aligning problem" New topic
Author

Aligning problem

Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5212
    
  12

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
http://www.javaroe.be/
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5212
    
  12

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

Joined: May 26, 2003
Posts: 30309
    
150

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.


[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
Bartender

Joined: Jul 19, 2004
Posts: 5212
    
  12

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 ]
 
jQuery in Action, 2nd edition
 
subject: Aligning problem