Geen lijnen tussen kolommen in tabel

Status
Niet open voor verdere reacties.

eric2001

Terugkerende gebruiker
Lid geworden
23 mrt 2001
Berichten
1.600
Hoi,
Ik wil een tabel met lijnen tussen de kolommen en niet tussen de rijen, behalve dan tussen de kopregels en de rest van de tabel.
Dit lukt aardig, alleen de lijnen tussen de kolommen verschijnen in zowel de kopregels als in de rest niet.
Mogelijk heeft dat "cols="11" er iets mee te maken, maar als ik dat niet doe, dan maakt 'ie er zelf maar een breedte van.

Code:
De tabel:
<TABLE CELLSPACING="1" CELLPADDING="1" BORDER="-1" cols="11" rules="groups">
<colgroup>
<TR>
    <TH WIDTH="180" ALIGN="left">Type</TH>
    <TH WIDTH="120" ALIGN="left">Artikel nr.</TH>
    <TH WIDTH="75"  ALIGN="left">Kleur</TH>
    <TH WIDTH="75"  ALIGN="center">Boor &Oslash; mm</TH>
    <TH WIDTH="75"  ALIGN="center">Klemdikte mm</TH>
    <TH WIDTH="75"  ALIGN="center">Min. plaatsings-diepte mm</TH>
    <TH WIDTH="75"  ALIGN="center">Min. boorgat-diepte mm</TH>
    <TH WIDTH="75"  ALIGN="center">Totale lengte mm</TH>
    <TH WIDTH="75"  ALIGN="center">Verpak-kings-inhoud</TH>
    <TH WIDTH="75"  ALIGN="center">Inhoud overdoos</TH>
    <TH WIDTH="75"  ALIGN="center">Prijs per 100 stuks</TH>
</TR>
</colgroup>
<colgroup>
<TR>
    <TD WIDTH="180">6.0 x 30</TD>
    <TD WIDTH="120">E 185010</TD>
    <TD WIDTH="75">wit</TD>
    <TD WIDTH="75" ALIGN="right">6</TD>
    <TD WIDTH="75" ALIGN="right">6</TD>
    <TD WIDTH="75" ALIGN="right">25</TD>
    <TD WIDTH="75" ALIGN="right">35</TD>
    <TD WIDTH="75" ALIGN="right">30</TD>
    <TD WIDTH="75" ALIGN="right">400</TD>
    <TD WIDTH="75" ALIGN="right">4000</TD>
    <TD ALIGN="right">8.67</TD>
</TR>
<TR>
    <TD WIDTH="180">6.0 x 30</TD>
    <TD WIDTH="120">E 185014</TD>
    <TD WIDTH="75">lichtbruin</TD>
    <TD WIDTH="75" ALIGN="right">6</TD>
    <TD WIDTH="75" ALIGN="right">6</TD>
    <TD WIDTH="75" ALIGN="right">25</TD>
    <TD WIDTH="75" ALIGN="right">35</TD>
    <TD WIDTH="75" ALIGN="right">30</TD>
    <TD WIDTH="75" ALIGN="right">400</TD>
    <TD WIDTH="75" ALIGN="right">4000</TD>
    <TD ALIGN="right">8.67</TD>
</TR>
</colgroup>

</TABLE>

Dit moet toch met helpmij op te lossen zijn?
b.v.d.
Eric
 
bedoel je zoiets,. (met FP geeft ie onderstaande code)

PHP:
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" cols="11" rules="groups" height="85" width="1092">
<colgroup>
<TR>
    <TH WIDTH="76" ALIGN="left" style="border: 1 solid #000000" height="50" bgcolor="#E6E6E6">
      <p align="center"><font face="Arial" size="2">Type</font></p>
    </TH>
    <TH WIDTH="133" ALIGN="center" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Artikel nr.</font></TH>
    <TH WIDTH="93"  ALIGN="center" style="border: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Kleur</font></TH>
    <TH WIDTH="78"  ALIGN="center" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Boor Ø mm</font></TH>
    <TH WIDTH="80"  ALIGN="center" style="border: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Klemdikte mm</font></TH>
    <TH WIDTH="132"  ALIGN="center" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Min. plaatsings-diepte mm</font></TH>
    <TH WIDTH="97"  ALIGN="center" style="border: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Min. boorgat-diepte mm</font></TH>
    <TH WIDTH="111"  ALIGN="center" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Totale lengte mm</font></TH>
    <TH WIDTH="130"  ALIGN="center" style="border: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Verpak-kings-inhoud</font></TH>
    <TH WIDTH="76"  ALIGN="center" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Inhoud overdoos</font></TH>
    <TH WIDTH="74"  ALIGN="center" style="border: 1 solid #000000" height="50" bgcolor="#E6E6E6"><font face="Arial" size="2">Prijs per 100 stuks</font></TH>
</TR>
<colgroup>
<TR>
    <TD WIDTH="76" style="border-left: 1 solid #000000; border-right: 1 solid #000000" height="18" align="center"><font face="Arial" size="2">6.0 x 30</font></TD>
    <TD WIDTH="131" height="18" align="center"><font face="Arial" size="2">E 185010</font></TD>
    <TD WIDTH="93" style="border-left: 1 solid #000000; border-right: 1 solid #000000" height="18" align="center"><font face="Arial" size="2">wit</font></TD>
    <TD WIDTH="76" ALIGN="center" height="18"><font face="Arial" size="2">6</font></TD>
    <TD WIDTH="80" ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000" height="18"><font face="Arial" size="2">6</font></TD>
    <TD WIDTH="130" ALIGN="center" height="18"><font face="Arial" size="2">25</font></TD>
    <TD WIDTH="97" ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000" height="18"><font face="Arial" size="2">35</font></TD>
    <TD WIDTH="109" ALIGN="center" height="18"><font face="Arial" size="2">30</font></TD>
    <TD WIDTH="130" ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000" height="18"><font face="Arial" size="2">400</font></TD>
    <TD WIDTH="74" ALIGN="center" height="18"><font face="Arial" size="2">4000</font></TD>
    <TD ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000" height="18" width="74"><font face="Arial" size="2">8.67</font></TD>
</TR>
<TR>
    <TD WIDTH="76" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="17" align="center"><font face="Arial" size="2">6.0 x 30</font></TD>
    <TD WIDTH="133" style="border-bottom: 1 solid #000000" height="17" align="center"><font face="Arial" size="2">E 185014</font></TD>
    <TD WIDTH="93" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="17" align="center"><font face="Arial" size="2">lichtbruin</font></TD>
    <TD WIDTH="78" ALIGN="center" style="border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">6</font></TD>
    <TD WIDTH="80" ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">6</font></TD>
    <TD WIDTH="132" ALIGN="center" style="border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">25</font></TD>
    <TD WIDTH="97" ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">35</font></TD>
    <TD WIDTH="111" ALIGN="center" style="border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">30</font></TD>
    <TD WIDTH="130" ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">400</font></TD>
    <TD WIDTH="76" ALIGN="center" style="border-bottom: 1 solid #000000" height="17"><font face="Arial" size="2">4000</font></TD>
    <TD ALIGN="center" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000" height="17" width="74"><font face="Arial" size="2">8.67</font></TD>
</TR>

</TABLE>
 
Beste J,
Bedankt voor de reaktie, maar het is niet helemaal wat ik bedoel. Waarom niet: ik had de tabellen vanuit excel geconverteerd naar html, maar die plaatste ook veel overbodige codes en iets zoeken of wijzigen erin is erg ingewikkeld. Ditzelfde gebeurt ook bij FP.
Grtz,
Eric
 
Status
Niet open voor verdere reacties.
Steun Ons

Nieuwste berichten

Terug
Bovenaan Onderaan