|
|||
noch ein Problem mit Tabellen und CSS
Hallo,
warum haben hier die 2.;3.;5. und 6. Tabellenzelle nicht die Breite von 25%? Hier die URL:http://www.sggg2.de/kader.htm Hier der Code der Seite: Code:
<table id="sampletable"> <thead> <tr> <th class="norm">Trainergespann/Mannschaftsleiter</th> </tr> </thead> <tbody> <tr> <td class="norm"></td> <td class="zahl"></td> <td class="norm"></td> <td class="zahl"></td> </tr> <tr> <td class="norm"></td> <td class="zahl"></td> <td class="norm"></td> <td class="zahl"></td> </tr> </tbody> <thead> <tr> <th class="norm">Spieler</th> </tr> </thead> <tbody> <tr> <td class="norm"></td> <td class="zahl"></td> <td class="norm"></td> <td class="zahl"></td> </tr> <tr> <td class="norm"></td> <td class="zahl"></td> <td class="norm"></td> <td class="zahl"></td> </tr> </tbody> </table> Code:
#sampletable { border-collapse:collapse; border-spacing:0; border:2; border-width:0; padding:1px; width:100%; margin:1em auto; } #sampletable th { border-style:solid; border-width:2px; border-color:#000000; padding:1px; background-color:#ffffff; color:inherit; color:#000000; font:normal 12px verdana, sans-serif; font-weight:bold; height:30px; width:100%; text-align:center; } #sampletable td.norm { border-style:solid; border-width:1px; border-color:#000000; padding:1px; text-indent:10px; color:#000000; font:normal 12px verdana, sans-serif; font:normal; width:25%; height:130px; text-align:left; } #sampletable td.zahl { border-style:solid; border-width:1px; border-color:#000000; padding:1px; text-indent:0; color:#000000; font:normal 12px verdana, sans-serif; font:normal; width:25%; height:130px; text-align:center; } Grüße von Sven |
Sponsored Links |
|
||||
Stichwort: „colspan“-Attribut
__________________
Markus Wulftange |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
CSS Gallerie Problem mit IE | ZeroQL | CSS | 3 | 01.04.2009 09:26 |
Umsetzung eines grafischen Rahmens von Tabellen in CSS | HeyJ | CSS | 8 | 23.03.2009 16:24 |
Gliederungen (Tabellen???) mit CSS | Boof | CSS | 6 | 14.02.2009 21:21 |
CSS Menü Problem | dieBille | CSS | 4 | 22.02.2006 16:43 |
Dringend: CSS Problem! | zero | CSS | 19 | 31.12.2005 19:34 |