probleme tableau html

lionceau90
Invité n'ayant pas de compte PHPfrance

27 janv. 2006, 19:30

J'ai un petit problème concernant la page d'accueil de mon site web!
La cellule contenant le tableau qui sert de menu ne se met pas à la taille de son contenu par défaut lorsque je supprime toutes les bordures de ma page web!
Je sais pas comment faire pour résoudre le probleme.

voici mon code:

</head>
<body style="margin:0px; padding:0px;"
bgcolor="#CC0000" link="#CC0000" vlink="#CC0000" alink="#CC0000" text="#000080"">
<div>
<TABLE BORDER=0 cellspacing="0" cellpadding="3">
<TR>
<TD colspan=3 style="margin:0px; padding:0px;"><img src="bande.gif"></TD>
</TR>
<TR>
<TD rowspan=2 style="margin:0px; padding:0px;" valign=top>
<table border="1" cellpadding="3" cellspacing="0" bgcolor="#000080">
<tr>
<td align=center><B><font color="#CC0000"><a href="accueil.htm" style="text-decoration:none;">Accueil</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color=""><a href="actualite.htm" style="text-decoration:none;">Actualité</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="resultats.htm" style="text-decoration:none;">Résultats</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="calendrier.htm" style="text-decoration:none;">Calendrier</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="classement.htm" style="text-decoration:none;">Classement</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="effectif.htm" style="text-decoration:none;">Effectif</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="competitions.htm" style="text-decoration:none;">Compétitions</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="branche.htm" style="text-decoration:none;">Branche</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="histoire.htm" style="text-decoration:none;">Histoire</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="stades.htm" style="text-decoration:none;">Stades</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000">Supporters</font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="http://www.munsterrugbystore.com" style="text-decoration:none;" target="_blank">Boutique</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="http://shop.irishrugby.ie/shop/SuppProd ... 1050&top=6" style="text-decoration:none;" target="_blank">Billeterie</a></font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000">Liens</font></B></td>
</tr>
<tr>
<td align=center><B><font color="#CC0000"><a href="contact.htm" style="text-decoration:none;">Contact</a></font></B></td>
</tr>
</table>
</TD>
<TD colspan=2><font color="#000080"><MARQUEE BGCOLOR='#CC0000' DIRECTION='left' WIDTH='100%' HEIGHT='12%' VALIGN='bottom' SCROLLAMOUNT='2' SCROLLDELAY='30'><font size=2.5>samedi 28 janvier, 17:30: Munster - Dragons, à Thomond Park</MARQUEE></FONT></TD>
</TR>
<TD valign=top><h3><font color="#000080">Victoire du Munster en Coupe d'Europe!</font></h3>

<p><font color="#000080">Les irlandais se sont largement imposés face aux français de Castres sur le score de 42 à 16.</font></p>

<p align="left"><a href="classement.htm" target="contenu"><font color="#000080">La
suite</font></a></p><hr color="#000080">
<h3><font color="#000080">Victoire du Munster en Coupe d'Europe!</font></h3>

<p><font color="#000080">Les irlandais se sont largement imposés face aux français de Castres sur le score de 42 à 16.</font></p>

<p align="left"><a href="classement.htm" target="contenu"><font color="#000080">La
suite</font></a></p>
</TD>
<TD valign=top>
<script Language="JavaScript">
function PopUp (url) {
window.open (url,"_blank","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,,width=510,height=300,left=10,top=10")
}
</script>
<TABLE BORDER=1 BGCOLOR="Black" CELLSPACING=0 CELLPADDING=3>
<TR>
<FORM ACTION="http://www.gratuit-fr.com/sondages/vote.php3" METHOD=Post TARGET=_blank>
<INPUT TYPE=hidden NAME=IDsondage VALUE=5354>
<INPUT TYPE=hidden NAME=Nom VALUE="Munster Rugby">
<TD>
<FONT FACE="Arial, Helvetica, sans-serif" SIZE=2 COLOR="Red">
<B>Quelle équipe gagnera la ligue celtique?</B></FONT><BR>
<FONT FACE="Arial, Helvetica, sans-serif" SIZE=2 COLOR="Red">
<INPUT TYPE=radio NAME=Q[0] VALUE=1>Munster<BR>
<INPUT TYPE=radio NAME=Q[0] VALUE=2>Edimbourg<BR>
<INPUT TYPE=radio NAME=Q[0] VALUE=3>Leinster<BR>
<INPUT TYPE=radio NAME=Q[0] VALUE=4>Ulster<BR>
<INPUT TYPE=radio NAME=Q[0] VALUE=5>Llanelli<BR>
</FONT>
<HR SIZE=1 WIDTH=50% COLOR="Red">
<DIV ALIGN=center><INPUT TYPE=submit VALUE=Voter><BR>
<A HREF="javascript:PopUp('http://www.gratuit-fr.com/sondages/resu ... om=Munster Rugby')"><FONT FACE="Arial, Helvetica, sans-serif" SIZE=1 COLOR="Red">Résultats</FONT></A></DIV>
</TD>

</div>
</body>
</html>

Avatar du membre
ViPHP
ViPHP | 3008 Messages

27 janv. 2006, 21:18

La cellule contenant le tableau qui sert de menu ne se met pas à la taille de son contenu par défaut lorsque je supprime toutes les bordures de ma page web!
:-s je n'ai rien compris...

lionceau90
Invité n'ayant pas de compte PHPfrance

28 janv. 2006, 15:18

en fait il y a une cellule qui, lorsque je supprime les bordures, change automatiquement de taille!Elle s'agrandit et je sais pas comment faire pour éviter ça!

Avatar du membre
ViPHP
ViPHP | 3008 Messages

28 janv. 2006, 16:24

Je viens de tester ton tableau du menu avec et sans bordures, je ne vois rien de flagrant. Sans bordure, le tableau se rapetisse ce qui est normal...tu utilises quoi comme navigateur ?

Tu peux nous faire une capture d'écran avec et sans bordure ?