probleme de tableau

Statut
N'est pas ouverte pour d'autres réponses.

FoX SpeEd

Touriste
PAGE CONCERNE

voila le probleme se site dans le tableau qui ce trouve sur cette page

voici le code source:

Code:
<html>
<head>
<title>FoX SpeEd's WebSite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body style="margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; background-color:#3399cc;">

<table width="100%" height="100%" border="1">
 <tr>
  <td align="center" style="vertical-align:middle;">
   <img border="0" src="intro.jpg" width="395" height="480">
  </td>
 </tr>
</table>

</body>
</html>
le probleme est le suivant je veut creer un tableau qui occupe l'entiereté de ma page donc je fais
Code:
width="100%" height="100%
mais le tabeau n'occupe que la hauteur de l'image. Si quelqu'un sait ou est le prob... :roll:
 

La Poubelle

Pou'r allé Danché
Définir aussi la cellule ... peut-être
 

_gilles

Elite
Je sais que ca n'a rien avoir, mais en fait ton tableau il sert pas à grand chose là... pourquoi vouloir à tout pris l'utiliser ?
 

La Poubelle

Pou'r allé Danché
Daftdj a dit:
Je sais que ca n'a rien avoir, mais en fait ton tableau il sert pas à grand chose là... pourquoi vouloir à tout pris l'utiliser ?
Sans doute à centrer l'image, hauteur et largeur
 

Onefive

Freddy Tougaux
Code:
<html> 
<head> 
<title>FoX SpeEd's WebSite</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
</head> 

<body style="margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; background-color:#3399cc;"> 

<table width="100%" height="100%" [b]border="0"> [/b]
<tr> 
  <td align="center" style="vertical-align:middle;"> 
   <img border="0" src="intro.jpg" width="395" height="480"> 
  </td> 
</tr> 
</table> 

</body> 
</html>
Remplace border="1" par border="0" sinon c'est pas trop joli :wink:
 
1er
OP
FoX SpeEd

FoX SpeEd

Touriste
exactement le tableau sert a centrer l'image a la vertical et j'ai mit border "1" pour que vous puissiez comprendre mon probleme :roll:
 

Noir

Never forget who i am !
Bon la journée a été longue et c'est surement du à ça mais je ne comprend rien de ce que tu demandes.

Tu veux quoi exactement??

c'est ça que tu veux?

Code:
<html>
<head>
<title>FoX SpeEd's WebSite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body style="margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; background-color:#3399cc;">

<table width="100%" height="100%" border="1">
	<tr>
		<td>
			<table width="100%" height="100%" border="1">
			<tr>
			  <td align="center" style="vertical-align:middle;">
			   <img border="1" src="intro.jpg" width="395" height="480">
			  </td>
			</tr>
			</table>
		<td>
	</tr>
</table>
</body>
</html>
 
1er
OP
FoX SpeEd

FoX SpeEd

Touriste
Merci Noir :wink: c'est au poil :D
 
Statut
N'est pas ouverte pour d'autres réponses.
Haut