This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: Struts tags causing uneven spaces between tables
 
It's not a secret anymore!