Pb mise en page tableau

cs_ratch Messages postés 18 Date d'inscription dimanche 15 octobre 2000 Statut Membre Dernière intervention 13 juin 2002 - 11 juin 2002 à 11:53
cs_ratch Messages postés 18 Date d'inscription dimanche 15 octobre 2000 Statut Membre Dernière intervention 13 juin 2002 - 13 juin 2002 à 11:53
Bonjour j'ai une requete qui doit s'afficher dans un tableau mais je ne sais pour quelle raison, la deuxième colonne s'affiche en décalée

par exemple :
colonne 1___________colonne 2
colonne 1_________________colonne 2
colonne 1 ____________________colonne 2
colonne 1 ___________colonne 2

Je souhaiterai que la colonne 2 s'aligne.

Voici le script actuel :

<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td align="left"><%=rs.fields("nom")%></td>
<td align="left"><%=rs.fields("lien")%></td>
</tr>

Merci pour votre aide
:kisses) ratch

2 réponses

cs_Fransisco Messages postés 7 Date d'inscription jeudi 16 mai 2002 Statut Membre Dernière intervention 12 juin 2002
12 juin 2002 à 14:25
Tu n'as qu'a attribuer des tailles à tes cellules :

<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td align="left" width="20%"><%=rs.fields("nom")%></td>
<td align="left" width="80%"><%=rs.fields("lien")%></td>
</tr>

Fransisco
0
cs_ratch Messages postés 18 Date d'inscription dimanche 15 octobre 2000 Statut Membre Dernière intervention 13 juin 2002
13 juin 2002 à 11:53
c'est bon, en fait j'avais inclus mon tableau dans la boucle !

pour info, il faut faire :

<%
if rs.recordcount>0 then
rs.movefirst%>

<table width="100%" border="0" cellspacing="5" cellpadding="5">
<%do while not rs.eof
%>
<tr>
<td align="left"><%=rs.fields("nom_veterinaire")%></td>
<td align="left"><%=rs.fields("lien")%></td>
</tr>
<%
rs.movenext
loop
else%>

MERCI QUAND MEME POUR TON AIDE
Bon prog !
Ratch
0
Rejoignez-nous