bug d'affichage - saut de ligne.
Bonjour, dans une de mes pages jsp( java) j'affiche ceci :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| <table cellspacing='3' cellpadding='3' border='0' class='FicheIndividuelle' width="100%" height="400px>
<tr>
<td width="30%">
</td>
<td>
<br><hr size="1" noshade="noshade" /><br>
<table border align="center" cellspacing='3' cellpadding='3' >
<tr>
<td>
Liste des applications disponibles :
</td>
</tr>
<tr>
<td>
<div id="applications">
<% Iterator it1 = GetList.getApplicationList().iterator();
String s=null;
int cpt=0;
while(it1.hasNext()){
Application appli =(Application)it1.next();
s=appli.getLibelleApplication();
%>
<input type="checkbox" name="application<%=cpt%>" value="<%=appli.getId()%>"> <%=s%></input>
<br>
<%cpt++;
}%>
</div>
</td>
</tr>
</table>
<div class="UI_EDITOR_TEXTFIELD" align=center>
<hr size="1" noshade="noshade" />
<input type="submit" class='formButton mainButton' id="validerChoixAppli" value="Valider mes choix" onclick="verifSelection()"/>
</div>
</td>
<td width="30%">
</td>
</tr>
</table> |
Et bizarrement lorsque je lance ma page, j'ai une ligne vide apres mon 1er input , voici la source du navigateur :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| <table cellspacing='3' cellpadding='3' border='0' class='FicheIndividuelle' width="100%" height="400px>
<tr>
<td width="30%">
</td>
<td>
<br><hr size="1" noshade="noshade" /><br>
<table border align="center" cellspacing='3' cellpadding='3' >
<tr>
<td>
Liste des applications disponibles :
</td>
</tr>
<tr>
<td>
<div id="applications">
<input type="checkbox"name="application0" value="3"> APP1</input>
<br>
<input type="checkbox"name="application1" value="4"> APP2</input>
<br>
<input type="checkbox"name="application2" value="1"> APP3</input>
<br>
<input type="checkbox"name="application3" value="2"> APP4</input>
<br>
<input type="checkbox"name="application4" value="5"> APP5</input>
<br>
</div>
</td>
</tr>
</table>
<div class="UI_EDITOR_TEXTFIELD" align=center>
<hr size="1" noshade="noshade" />
<input type="submit" class='formButton mainButton' id="validerChoixAppli" value="Valider mes choix" onclick="verifSelection()"/>
</div>
</td>
<td width="30%">
</td>
</tr>
</table> |
La source parait là aussi correcte mais pourtant j'ai bien une ligne vide en trop entre APP1 et le reste :(