Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2775 connectés 

  FORUM HardWare.fr
  Graphisme
  Web design

  Agrandissement de cellules d'un tableau ...

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Agrandissement de cellules d'un tableau ...

n°941695
tomsoft
Posté le 22-04-2007 à 12:02:45  profilanswer
 

:hello:  
 
je vous expose mon probleme,  
 
je realise un site web, il y a un header en haut, un menu sur la gauche et mon designer (qui est en vacances donc injoignable  :sweat: ) a tout decoupé en tableaux, ca donne ca en gros :
 
http://img143.imageshack.us/img143/3471/capture02op5.jpg
 
Mais le probleme c'est que quand Zone_principale s'etend, Menu 1 s'etend aussi or je voudrais que Menu4 s'etende  :sweat:  
 
est-ce possible ?
 
 :jap:

mood
Publicité
Posté le 22-04-2007 à 12:02:45  profilanswer
 

n°941794
Profil sup​primé
Posté le 22-04-2007 à 19:02:57  answer
 

si tu nous filer le code se serai mieu

n°941865
tomsoft
Posté le 22-04-2007 à 21:22:24  profilanswer
 

Code :
  1. <?php /*
  2. include "./haut.php";
  3. */
  4. ?>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <?php
  7. include('./fonctions/fonctions.php');
  8. ?>
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  12. <title>Furia Gear</title>
  13. <style type="text/css">
  14. <!--
  15. body {
  16. background-image: url(images/texture.jpg);
  17. }
  18. -->
  19. </style></head>
  20. <body marginheight="0">
  21. <table width="970" align="center" border="0" cellpadding="0" cellspacing="0">
  22.   <tr>
  23.     <td width="16" rowspan="2"><img src="images/furiagear_01.png" width="16" height="200" /></td>
  24.     <td colspan="8"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="938" height="37">
  25.       <param name="movie" value="anim-furia.swf" />
  26.       <param name="quality" value="high" />
  27.       <embed src="anim-furia.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="938" height="37"></embed>
  28.     </object></td>
  29.     <td width="16" rowspan="2"><img src="images/furiagear_03.png" width="16" height="200" /></td>
  30.   </tr>
  31.   <tr>
  32.     <td colspan="8"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="938" height="162">
  33.       <param name="movie" value="electrocardiogramme.swf" />
  34.       <param name="quality" value="high" />
  35.       <embed src="electrocardiogramme.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="938" height="162"></embed>
  36.     </object></td>
  37.   </tr>
  38.   <tr>
  39.     <td><img src="images/furiagear_04.png" width="16" height="39" /></td>
  40.     <td width="179"><img src="images/furiagear_05.png" width="179" height="39" /></td>
  41.     <td width="10"><img src="images/furiagear_06.png" width="10" height="39" /></td>
  42.     <td width="88"><img src="images/furiagear_07.png" width="88" height="39" /></td>
  43.     <td width="60"><img src="images/furiagear_08.png" width="60" height="39" /></td>
  44.     <td width="85"><img src="images/furiagear_09.png" width="85" height="39" /></td>
  45.     <td width="84"><img src="images/furiagear_10.png" width="84" height="39" /></td>
  46.     <td width="145"><img src="images/furiagear_11.png" width="145" height="39" /></td>
  47.     <td width="287"><img src="images/furiagear_12.png" width="287" height="39" /></td>
  48.     <td><img src="images/furiagear_13.png" width="16" height="39" /></td>
  49.   </tr>
  50.   <tr>
  51.     <td>&nbsp;</td>
  52.     <td colspan="8" valign="top"><img src="images/furiagear_15.png" width="938" height="16" /></td>
  53.     <td>&nbsp;</td>
  54.   </tr>
  55.   <tr>
  56.     <td colspan="10" height="5"></td>
  57.   </tr>
  58.  
  59.  
  60.   <!-- Fin Haut.php -->
  61.  
  62.   <tr>
  63.     <td>&nbsp;</td>
  64.     <td height="16" valign="bottom"><img src="images/furiagear_23.png" width="179" height="16" /></td>
  65.     <td>&nbsp;</td>
  66.     <td colspan="6" valign="bottom"><img src="images/furiagear_25.png" width="749" height="16" /></td>
  67.     <td>&nbsp;</td>
  68.   </tr>
  69.   <tr>
  70.     <td colspan="3" rowspan="2" height="3"></td>
  71.     <td colspan="6" rowspan="7" valign="top" background="images/furiagear_33.png">
  72.  <?php
  73.   affiche_accueil();
  74.  ?>
  75. </td>
  76.     <td height="3"></td>
  77.   </tr>
  78.  
  79.   <tr>
  80.     <td rowspan="2">&nbsp;</td>
  81.   </tr>
  82.   <tr>
  83.     <td height="7">&nbsp;</td>
  84.     <td valign="bottom"><img src="images/furiagear_41.png" width="179" height="16" /></td>
  85.     <td>&nbsp;</td>
  86.   </tr>
  87.   <tr>
  88.     <td>&nbsp;</td>
  89.     <td align="center" valign="top" background="images/furiagear_32.png"><form id="form1" name="form1" method="post" action="">
  90.       <p><b><font size="2" face="helvetica">Ins&eacute;rez un mot cl&eacute; :</font></sb><label>
  91.         <input type="text" name="textfield" />
  92.         </label></p>
  93.       <label>
  94.       <input type="submit" name="Submit" value="Valider" />
  95.       </label>
  96.   </form>
  97.   <br>    </td>
  98.     <td>&nbsp;</td>
  99.     <td>&nbsp;</td>
  100.   </tr>
  101.  
  102.   <tr>
  103.     <td height="9" rowspan="2">&nbsp;</td>
  104.     <td valign="bottom" height="3"></td>
  105.     <td rowspan="2">&nbsp;</td>
  106.     <td rowspan="2">&nbsp;</td>
  107.   </tr>
  108.   <tr>
  109.     <td valign="bottom"><img src="images/furiagear_50.png" width="179" height="18" >
  110. </td>
  111.   </tr>
  112.   <tr>
  113.     <td>&nbsp;</td>
  114.     <td valign="top" background="images/furiagear_32.png">
  115.  <font size="2" face="helvetica"> <b>
  116.  <?php
  117.   liste_categories(1);
  118.  ?>
  119.  </b></font>
  120. </td>
  121.     <td>&nbsp;</td>
  122.     <td>&nbsp;</td>
  123.   </tr>
  124.  
  125.  
  126.   <tr>
  127.     <td height="10"></td>
  128.   </tr>
  129.   <tr>
  130.      <td align="center">&nbsp;</td>
  131.     <td colspan="8" align="center" background="images/furiagear_65.png"><b><font size="1" face="helvetica">Copyright 2007 - Touts droits reserv&eacute;s FURIAGEAR.com - Codé par Tomas - <a href="http://designevilstarvirus.free.fr" target="blank"> Designed by Evil Star Virus </a></font></b></td>
  132.     <td align="center">&nbsp;</td>
  133.   </tr>
  134. </table>
  135. </body>
  136. </html>
  137.   <!-- Debut bas.php -->
  138.   <?php /*
  139. include "./bas.php";
  140.   */ ?>


 
Mon probleme se situe sur les cellules ligne 74 à 84, lors de affiche_accueil().
 
Sinon que pensez vous de tout reprendre en frames ?

n°941952
Pyksel
Locker fou !
Posté le 23-04-2007 à 08:20:28  profilanswer
 

C'est faisable, mais les tableaux sont pas la meilleure solution. A moin de le restructurer et eviter les colspan et rowspan...
 
L'idéal etant la semantique et le css...


---------------
Rien est impossible, il suffit d'y croire !
n°941958
tomsoft
Posté le 23-04-2007 à 08:56:24  profilanswer
 

la semantique ?
 

n°942110
tomsoft
Posté le 23-04-2007 à 14:45:23  profilanswer
 

probleme resolu, j'ai redivisé en 2 tableaux ;)
 
Merci pour l'aide :jap:

n°942845
Profil sup​primé
Posté le 25-04-2007 à 19:29:53  answer
 

tomsoft a écrit :

probleme resolu, j'ai redivisé en 2 tableaux ;)
 
Merci pour l'aide :jap:


 
 
erf

n°942867
tomsoft
Posté le 25-04-2007 à 19:47:30  profilanswer
 

 

erf ?  :??:

 

Ca marche tres bien  :o

 

( http://tomas.pcsave.free.fr/ ) <= site encore en dev hein  :D

 

edit : et pas du tout optimisé niveau poids ,avec 150ko de flash :sweat:


Message édité par tomsoft le 25-04-2007 à 19:48:17
n°942870
Pyksel
Locker fou !
Posté le 25-04-2007 à 19:48:47  profilanswer
 

Si ca fonctionne et que ca te convient : oui ca marche trés bien...
Mais essaye de voir du côté des CSS (cf google) tu verra que ca peut être pas mal aussi...
 
Contente toi des tableaux avant de t'attaquer au css...


---------------
Rien est impossible, il suffit d'y croire !
n°942885
tomsoft
Posté le 25-04-2007 à 21:02:32  profilanswer
 

:jap: le css je verais ca quand j'aurais le temps, la je finis le site et apres pourquoi pas ;)

mood
Publicité
Posté le 25-04-2007 à 21:02:32  profilanswer
 

n°942894
gatsu35
Blablaté par Harko
Posté le 25-04-2007 à 22:24:36  profilanswer
 

J"ai -10 à chaque oeil à cause de ton site, c'est quoi ce fond d'ecran horrible

n°942902
tomsoft
Posté le 25-04-2007 à 22:47:14  profilanswer
 

arf, les avis sont tres partagés la dessus :/
 
c'est une texture carbonne, certains trouvent que c'est bien et d'autres :/

n°942927
gatsu35
Blablaté par Harko
Posté le 25-04-2007 à 23:40:48  profilanswer
 

tomsoft a écrit :

arf, les avis sont tres partagés la dessus :/
 
c'est une texture carbonne, certains trouvent que c'est bien et d'autres :/


elle fait tout simplement mal aux yeux

n°942977
Shinuza
This is unexecpected
Posté le 26-04-2007 à 10:10:27  profilanswer
 

Ca pique :ouch:


---------------
Mains power can kill, and it will hurt the entire time you’re dying from it.
n°942979
liverpowen
Profil : Friche Culturelle
Posté le 26-04-2007 à 10:12:30  profilanswer
 


 
c'est ça ton aide ?  
tu lui demandes le code mais au final tu ne l'aides pas.... :/


---------------
OUAIB | FLICKR | HFR | 500 PX
n°942988
frodum
Posté le 26-04-2007 à 10:29:08  profilanswer
 

Je rebondis sur ce post, car j'ai le même probleme. J'ai fait un test simple, à savoir reproduire l'image du tableau ci-dessus.  
J'ai donc fait une page html vite fait pour comprendre pourquoi IE ne distribue pas l'espace à la seule case qui n'a pas de hauteur fixe.
(Sous FF ca marche nickel).  
 
Voici mon code :  
 
<html>
<body>
<table width="730" border="1">
 <tr><td colspan="2" height="40">b</td></tr>
 <tr><td width="140" height="40">a</td><td style="background-color:red;" width="570" rowspan="5">f<BR>f<BR></td></tr>
 <tr><td height="40">b</td></tr>
 <tr><td>ccc</td></tr>
 <tr><td height="40">d</td></tr>
 <tr><td height="40">e</td></tr>
</table>
</body>
</html>
 
Après je joue sur le contenu de la case de droite pour augmenter sa hauteur et voir ce qui se passe.
J'ai beau me triturer les méninges, je n'arrive pas à forcer IE à ne redistribuer que là où il faut.
 
Si qqun peut m'aider, ça m'arrangerait fortement ;-)


Message édité par frodum le 26-04-2007 à 10:29:51
n°943011
frodum
Posté le 26-04-2007 à 11:01:57  profilanswer
 

Le truc, c'est que j'ai fait un truc assez poussé avec des tableaux et je ne peux plus me résoudre à passer en CSS. Et j'ai du mal à croire que je ne puisse régler le problème sur mon exemple simple (ce qui me permettrait de résoudre mon truc poussé)

n°943037
frodum
Posté le 26-04-2007 à 11:24:22  profilanswer
 

Bon j'ai trouvé un truc mais bon, ca m'arrange pas de retoucher à la structure du tableau...
 
<html>
<body>
<table width="730" border="1">
 <tr height="40"><td colspan="2" height="40">b</td></tr>
 <tr height="40">
  <td>
   <table border="1" height="100%">
    <tr>
     <td width="140" height="40">a</td>
    </tr>
    <tr height="40" style="position:relative">
     <td height="40">b</td>
    </tr>
    <tr><td>ccc</td></tr>
    <tr height="40"><td height="40">d</td></tr>
    <tr height="40"><td height="40">e</td></tr>
   </table>
  </td>
  <td style="background-color:red;" width="570">
   <table height="100%">
    <tr>
     <td>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR>f<BR><td>
    </tr>
   </table>
  </td>
 </tr>
</table>
</body>
</html>


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Graphisme
  Web design

  Agrandissement de cellules d'un tableau ...

 

Sujets relatifs
"tableau" en div, vos avis sur le code || vertical align en css[Photoshop] Création d'un tableau
Nom d'un tableauCombien la taille en pixels de mon tableau?
Agrandissement d'images sans perte de qualitéouverture d'un lien dans un tableau
[Photoshop]Tableau Coupe du monde :)Dreamweaver : centrer un tableau verticalement.
Changer la police d'un tableau sous indesignAvis sur tableau dynamique
Plus de sujets relatifs à : Agrandissement de cellules d'un tableau ...


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR