aspose file tools*
The moose likes Struts and the fly likes Struts tags causing  uneven spaces between tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts tags causing  uneven spaces between tables" Watch "Struts tags causing  uneven spaces between tables" New topic
Author

Struts tags causing uneven spaces between tables

AnilPrakash Raju
Ranch Hand

Joined: Jul 26, 2004
Posts: 137
hi,
I was wondering if anyone came upon a problem where the struts tags causes spaces between the table to be uneven.
eg
<html:form>
<table>
<tr>
<td> <table> <tr> <td></td></tr></table>
<html:form>
<br>
<table> <tr> <td></td></tr></table>
</td>
</tr>
</table>


I tried <br> but the spaces increases as the tables increases(due to having rows returned for the backend ).

Thanks

Anil
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
you need to put in conditional statements to check for when a row/table should be displayed so that addtional <br /> or row/tables won't show that can cause distortions.


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
AnilPrakash Raju
Ranch Hand

Joined: Jul 26, 2004
Posts: 137
Thanks Alan for your suggestion but i found my problem was due to putting a hidden field outside the <td> tags.


D'oh

Thanks

Anil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts tags causing uneven spaces between tables
 
Similar Threads
Uneven spaces between tables
Tomcat renders td with uneven spaces in IE
how do i find the referring page in struts
MalformedURLException
Cannot retrieve mapping for action /content/AddLinks