Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts tags causing uneven spaces between tables

 
AnilPrakash Raju
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
AnilPrakash Raju
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic