My form uses 6 checkboxes (as well as other things not related to this problem). At least 2 of the boxes will always be checked -- usually 3 or 4.
I'm displaying the results in table format. However, to maintain a consitent look, the data from all these checkboxes must be displayed in one <TD> cell.
The problem is that I want to have a <BR> between each one and I don't want any breaks where there is no data to be displayed. For example, if there is data from checkbox 1, 3 and 5 -- I don't want to end up with extra blank lines between them when displayed.
I think what I want is to have something write in the breaks -- but only when displaying the data and only if there is data to be displayed.
Any suggestions?
I'm displaying the results in table format. However, to maintain a consitent look, the data from all these checkboxes must be displayed in one <TD> cell.
The problem is that I want to have a <BR> between each one and I don't want any breaks where there is no data to be displayed. For example, if there is data from checkbox 1, 3 and 5 -- I don't want to end up with extra blank lines between them when displayed.
I think what I want is to have something write in the breaks -- but only when displaying the data and only if there is data to be displayed.
Any suggestions?