La communauté ALL HTML c'est 58827 membres à ce jour dont 0 inscrits aujourd'hui et 29 depuis une semaine.

  • imprimer
  • aide

Forum de discussions « XHTML - HTML - CSS »

Retrouvez les publications relatives à ces discussions dans nos rubriques CSS, HTML, XHTML.

Colonne récalcitrante, besoin d'aide pour la dompter

liste des forums liste des discussions Participer à la discussion

Photo de kitten75 Message publié le mercredi 24 septembre 2008 à 13 h 06 par kitten75. Cordialement
Bonjour,

J'aimerais ajouter une colonne à gauche comme ceci, j'arrive bien à la faire apparaitre mais n'arrive pas à aligner comme ci-dessous.

http://imageshack-france.com/out.php/i216705_Annonce.com1222252245943.png

http://kitten13.dyndns.org
Photo de elizabeth Message publié le mercredi 24 septembre 2008 à 16 h 19 par elizabeth. les pieds sur terre et la tête dans les étoiles
b'jour,
à priori met tout dans un tableau et sépare en deux colonnes.
sinon, un p'tit bout de code ne serait pas de refus...
Photo de kitten75 Message publié le mercredi 24 septembre 2008 à 16 h 43 par kitten75. Cordialement
Bonjour,

Pour commencer merci de me venir en aide.

Voici mon fichier avec mes différente table, j'ai essayer de tout mettre dans un tableau mais rien à faire il s'affiche en haut mais pas sur le coté, j'aimerais comprendre se quine va pas

<div class="containertable"> <!-- ----------------table pour la colonne ------------------------- --> <table> <tr> colonne de droite </tr> </table> <!-- ----------------fin table pour la colonne ------------------------- --> <table border="0" width="100%" cellspacing="0" cellpadding="10"> <tr> <td width="100%"> {if $banner} <p>{$banner}</p> {/if} {if $index_catid==0} <!-- If we are on frontpage --> {if $member} <h2>{$index_welcome_91}</h2> <p class="headline">{$index_welcome_92}</p> {else} <h2>{$index_welcome_1}</h2> <p class="headline">{$index_welcome_2}</p> {/if} {/if} {if $catname} <h2>{$catname}</h2> {/if} {if $premium_picture==1 and $set_special==0} <!-- PREMIUM PICTURE --> {if $index_catid==0} <table> <tr> <td>{php}include("catcol.php");{/php}</td> <td>{php}include("premium.php");{/php}</td> </tr> </table> {else} {php}include("catcol.php");{/php} {php}include("premium.php");{/php} {/if} <!-- PREMIUM PICTURE --> {elseif $premium_picture==0 and $set_special==1} <!-- PREMIUM ADS --> <table border='0' width='100%'><tr><td valign='top' width='{$size}%'> {php} include("catcol.php"); {/php} </td> <td valign="top" width="30%"> <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box"> <tr> <th colspan="2" class="bottombutton_tile">{$smarty.const.LA_PREMIUM}</th> </tr> {foreach item=special from=$special_list} <tr><td><img src="layout_images/admin/special.gif" align="left" alt="" /></td> <td><a href="{$special.s_link}"><img src="layout_images/pointer.gif" border="0" alt="" /> {$special.s_title}</a> </td></tr> {/foreach} </table> </td> </tr> </table> <!-- PREMIUM ADS --> {elseif $premium_picture==1 and $set_special==1} <!-- PREMIUM ADS AND PREMIUM PICTURE ADS FP--> {if $index_catid==0} <table border='0' width='100%'><tr><td valign='top' width='{$size}%'> <tr> <td> {php} include("catcol.php"); {/php} </td> <td valign="top" width="30%"> <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box"> <tr> <th colspan="2" class="bottombutton_tile">{$smarty.const.LA_PREMIUM}</th> </tr> {foreach item=special from=$special_list} <tr> <td><img src="layout_images/admin/special.gif" align="left" alt="" /></td> <td><a href="{$special.s_link}"><img src="layout_images/pointer.gif" border="0" alt="" />{$special.s_title}</a></td> </tr> {/foreach} </table> </td> <td> {php}include("premium.php");{/php} </td> </tr> </table> <!-- PREMIUM ADS AND PREMIUM PICTURE ADS FP--> {else} <!-- PREMIUM ADS AND PREMIUM PICTURE ADS CAT--> <table border='0' width='100%'><tr><td valign='top' width='{$size}%'> {php} include("catcol.php"); {/php} </td> <td valign="top" width="30%"> <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box"> <tr> <th colspan="2" class="bottombutton_tile">{$smarty.const.LA_PREMIUM}</th> </tr> {foreach item=special from=$special_list} <tr><td><img src="layout_images/admin/special.gif" align="left" alt="" /></td> <td><a href={$special.s_link}"><img src="layout_images/pointer.gif" border="0" alt="" /> {$special.s_title}</a> </td></tr> {/foreach} </table> </td> </tr> </table> </td></tr></table> </div>
Photo de kitten75 Message publié le jeudi 25 septembre 2008 à 20 h 48 par kitten75. Cordialement
personne ?
Photo de sprayart Message publié le vendredi 26 septembre 2008 à 10 h 22 par sprayart.
Bonjour,
regardes les propriétés <TD COLSPAN=n> et <TD ROWSPAN=m>
qui tepermettent de regrouper des lignes et colonnes.
A+

liste des forums liste des discussions Participer à la discussion

Vous devez obligatoirement vous identifier en tant que membre pour participer à cette discussion.

ACCÉS COMMUNAUTÉ

Rejoignez ALL HTML

Publiez vos articles, actualités, communiqués ... Donnez votre avis, partagez votre réseau, rencontrez d'autres membres et participez à la vie de la communauté.

Les 5 dernières discussions