Forum-webmaster
Technique - programmation => HTML / CSS / XHTML => Message commencé par: kepon le le 29-03-2006 a 10:57:45

Titre: pb height dans un table pour validation W3C XHTML. ...
Posté par: kepon le le 29-03-2006 a 10:57:45

Bonjours je suis en train de mettre mon site http://chezdavid.ath.cx au norme XHTML et

je n'arrive pas a mettre un tableau sur la totalitée de la page en hauteur....
bon ce n'est peut être pas très claire alors je vous montre... :

ça marche pas :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Date de création: 29/03/2006 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title></title>
</head>
<body>
<table border="0" style="background: silver; height: 100%">
   <tr>
      <td>blabla</td>
   </tr>
</table>
</body>
</html>


ça marche mais je suis plus validée [decu] :

<html>
<!-- Date de création: 29/03/2006 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title></title>
</head>
<body>
<table border="0" style="background: silver; height: 100%">
   <tr>
      <td>blabla</td>
   </tr>
</table>
</body>
</html>

Comment puis-je avoir mon tablea avec un height: 100% et être validé W3C...???

Titre: Re:pb height dans un table pour validation W3C XHTML. ...
Posté par: Netah le le 29-03-2006 a 11:29:03

Ouchhh...

Mauvaise idée de mise en page. Fais un petit tour sur www.alsacreations.com/articles pour voir des exemples avec des "<div>"


Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.