| |||||
| Dernière réponse | |
|---|---|
| Sujet : [HTML] % dans un tableau | |
| mystik23 | ok merci le pas si con :D |
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| mystik23 | ok merci le pas si con :D |
| bozocarzu | Oui si tu met widht=* il va comprendre, il est pas si con que sa ton explorateur :lol: Voila je tes refais la page, http://bozocarzu.free.fr [edtdd]--Message édité par BozoCarzu--[/edtdd] |
| mystik23 | merci bcp mais en fait dans la cellule 2 je voudrai mettre un titre centre et je pense le faire en image donc il faudrait separer cette cellule en trois : une a gauche taille variable
celle au centre de taille fixe et centrer et celle a droite taille variable mais de meme taille que celle de gauche donc si je met pour les cellule gauche et droit : width="*" et ce que il va comprendre qu'il faut equilibre |
| bozocarzu | Voila la solution la plus simple pour ton pb : http://bozocarzu.free.fr |
| bozocarzu | http://bozocarzu.free.fr/a.jpg |
| mystik23 | bon tant que jy suis g un autre tableau qui merdi : http://mystik23.free.fr/tableaum.gif c pour un menu ( plus smple ;)) -1 taille fixe -2 redimensionne -3 fixe -4 fixe -5 redimensionnable -6 fixe -7 fixr -8 redimensionnable -9 fixe voila c un peu le meme pb ( en fait g fais un gros tableau et dedans pour chaque patrtie( menu...) je rajoute un tableau dans la cellule) voila donc le code : [...] <td width="15.10%" height="113"> <!--debut cellule menu--> <table width="100%" border="1" cellspacing="0" cellpadding="0" height="113"> <tr> <td colspan="2" width="33" height="24"><img src="space.gif" width="1" height="24">1</td> <td colspan="2" width="*" height="24"><img src="space.gif" width="1" height="24">2</td> <td width="8" height="24"><img src="space.gif" width="1" height="24">3</td> </tr> <tr> <td width="8" height="72"><img src="space.gif" width="1" height="72">4</td> <td colspan="3" width="*" height="72"><img src="space.gif" width="1" height="72">5</td> <td width="8" height="72"><img src="space.gif" width="1" height="72">6</td> </tr> <tr> <td width="8" height="17"><img src="space.gif" width="1" height="17">7</td> <td colspan="2" width="*" height="17"><img src="space.gif" width="1" height="17">8</td> <td colspan="2" width="23" height="17"><img src="space.gif" width="1" height="17">9</td> </tr> </table> <!-- fin cellule menu --> </td> [...] voila merci a tous |
| bozocarzu | Oui voila en faite quand tu met * il prend se qui lui rest, tu peut aus rien mettre, et il prendera aussi se qu il veut :p |
| mystik23 | en faite cette parti c la parti haut de mon interface
merci bozocarzu c exactement ca que je voulais j'airegarder la source et apparementa tu as mis width="*" et height="*" et ce que cela signifie que la hauteur et la largeur prend la place qui reste et audessus de la 6 ce sera une xcellule vide ou je mettrait du txt [edtdd]--Message édité par mystik23--[/edtdd] |
| bozocarzu | Voila se que j ai fais en faite tu veut que tous soit fixe sauf la 2 et la 16 ?
Va la et regarde le code source : http://bozocarzu.free.fr [edtdd]--Message édité par BozoCarzu--[/edtdd] |
| bozocarzu | Faut absolument garder le height="123" de ton tableau ou peut on le mettra 100% ? |
| bozocarzu | Je sais comment faire tous sa, c est aps bien compliquer c est aue du HTML pur, mais juste deux petite question:
- Je suppose que le milieu est ta page principal et quel se redimensione ? - Qu y as t il au dessus de la cellul 6 ? On ne peut pas laisser sa vide, dis moi si c est fixe ou si sa deforme suivant des pourcentage vertical ou horizontale |
| mystik23 | voila mon probleme g symboliser le truc.
http://mystik23.free.fr/tableau.gif ce que je veux faire c un tableau qui oqp toute la partie de la page qq soit le def. je precise : -cellule1 : c un angle je veux qu'il reste en px et que la taille ne varie jamais -la 2 c cette partie qui devras se redimensionner -3 taille fixe -4 je pense que je doit mettre taille fixe car le vide au milieu c la place pour une pub -5 taille fixe -6 fixe ( pb pub) -7 fixe -8 fixe -9 fixe -10 fixe -11 fixe (pb pub) -12 fixe -13 fixe (pb pub) -14 fixe -15 fixe -16 comme la 2 ( % ) alors voila le pb est poser apparement vous avez eu le courage de lire merci alors voila mon code : ( avec space .gif transparent de 1*1) <table width="100%" border="0" cellspacing="0" cellpadding="0" height="123"> <tr> <td rowspan="2" width="26" height="30" background="1.gif"><img src="space.gif" width="1" height="30"></td> <td rowspan="4" width="31.75%"height="106" background="2.gif"><img src="space.gif" width="1" height="106"></td> <td rowspan="4" width="15" height="106" background="3.gif"><img src="space.gif" width="1" height="106"></td> <td colspan="2" rowspan="2" width="226" height="30" background="4.gif"><img src="space.gif" width="1" height="30"></td> <td rowspan="2" width="18" height="30" background="5.gif"><img src="space.gif" width="1" height="30"></td> <td colspan="2" width="232" height="18"><img src="space.gif" width="1" height="18"></td> </tr> <tr> <td width="220" height="12" background="6.gif"><img src="space.gif" width="1" height="12"></td> <td width="12" height="12" background="7.gif"><img src="space.gif" width="1" height="12"></td> </tr> <tr> <td width="26" height="60" background="8.gif"><img src="space.gif" width="1" height="60"></td> <td colspan="4" width="468" height="60"><img src="space.gif" width="1" height="60"></td> <td width="12" height="60" background="9.gif"><img src="space.gif" width="1" height="60"></td> </tr> <tr> <td width="26" height="16" background="10.gif"><img src="space.gif" width="1" height="16"></td> <td width="145" height="16" background="11.gif"><img src="space.gif" width="1" height="16"></td> <td rowspan="2" width="17" height="33" background="12.gif"><img src="space.gif" width="1" height="33"></td> <td colspan="2" rowspan="2" width="299" height="33" background="13.gif"><img src="space.gif" width="1" height="33"></td> <td rowspan="2" width="12" height="33" background="14.gif"><img src="space.gif" width="1" height="33"></td> </tr> <tr> <td width="26" height="17" background="15.gif"><img src="space.gif" width="1" height="17"></td> <td colspan="3" width="52.24%" height="17" background="16.gif"><img src="space.gif" width="1" height="17"></td> </tr> </table> voila merci a tous |




