1

Bonjours a tous,
Pour la création de mes facture j'ai besoin d'avoir un tableau avec des contour simple !

Malgrer toute mes tentative de border solid ect impossible d'avoir des contour simple !
Je me retrouve tous le temps avec soit le contour du tableau et de chaque cellule ou carrément sans contour !

Voila le code que j'utilise :
<style type="text/css"> .gros_titre{ font-size: 35px; margin-top: -10px; } .soustitre { font-size: 19px; font-style: italic; margin-top:-7px; } .info{ font-size:10px; margin-top:-10px; } </style> <page> <table> <tr> <td><img src="img/logo.png" width="160px"></td> <td><p class="gros_titre">BeFaster Software <p class="soustitre">Conception de logiciel sur mesure</p> <p class="info">Auto-Entrepreneur: J&eacute;r&eacute;my SEBAN, SIRET: 53347447400012<br>Contact : T&eacute;l - 06.75.98.83.71 ; Site : http://www.befaster.fr</p></p></td> </tr> </table><br> <table> <tr> <td width="550" style="vertical-align:top;"><span style="text-decoration: underline">Identifiant de facture :</span> HIUDKJJXXSKPOXK<br><span style="text-decoration: underline">&Agrave; l'attention de :</span> UHSIUHDUSOCJO<br><span style="text-decoration: underline">Date :</span> 12/12/1212</td> <td width="100"><div style="width:200px;"><span style="text-decoration: underline">Adresse du client :</span><br>fazerfazerfAZE<br> Fzaefzaefza frfaeafzakhbfcka arf afazjbflkaf arf arfjzebflkqjzrhflajrhl aufn azjehf azehfqlzjenhfpoazhie fppzuehf azjnf apzjfh zlajfn pzoaihf paoziihf pozqfE<br> FzaefazefazefazefazF<br> zaefazefazefazeF<br></div></td> </tr> </table> <br><br> <table class="sample"> <tr> <td width="510" >Objet :</td> <td width="110" >Qt&eacute;. :</td> <td width="110" >Prix/U (H.T) :</td> </tr> <tr> <td>fzygeafiuzeakfiazuehoiflu azhleufzaefe </td> <td>2</td> <td>34 &euro;</td> </tr> <tr> <td colspan="2" align="right">Total H.T : </td> <td>34 &euro;</td> </tr> </table> TVA non applicable, article 293 B du CGI </page>

Donc mon problème ce situe sur le tableau class="sample"

Comment obtenir un tableau avec un quadrillage simple ?

2

avec la propriété CSS border-collapse ?
Ancien pseudo : lolo

3

Bon c'est certes très barbare comme code mais au moins ça marche -_-

donc au final j'ai :

.sample{
border-collapse:collapse;
border:1px solid #000000;
}

et <table border="1" class="sample">

pour arriver au résultat presque voulue !

Merci , j'avais oublier le border_collapse en css !