|
|||
Tabelle mit CSS zentrieren
Hallo,
wie kann man mit CSS eine Tabelle zentrieren? Hier ist der Code der Tabelle: Code:
#sampletable { border-collapse:collapse; border-spacing:0; border:2; border-width:0; padding:1px; width:90%; margin:1em auto; } #sampletable th { border-style:solid; border-width:1px; border-color:#000000; padding:1px; background-color:#ffffff; color:inherit; color:#000000; font:normal 12px verdana, sans-serif; font-weight:bold; height:30px; text-align:center; } #sampletable td.norm { border-style:solid; border-width:1px; border-color:#000000; padding:1px; width:100px; text-indent:0; color:#000000; font:normal 12px verdana, sans-serif; font:normal; height:20px; width:28%; text-align:left; text-indent:10px; } #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; height:20px; width:8%; text-align:center; } Grüße von Sven |
Sponsored Links |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Tabelle mit CSS formatieren | AndreasB80 | CSS | 4 | 03.08.2011 15:36 |
Tabelle zentrieren | Roadrunner1 | CSS | 4 | 13.05.2011 19:07 |
Redesign für Steiner Cycling Team | pkipper | Site- und Layoutcheck | 11 | 09.02.2011 12:25 |
CSS Tabelle - Zellen verbinden | Praktikant | CSS | 5 | 16.08.2010 15:55 |
Große Tabelle in CSS?! | elijasaul | CSS | 13 | 31.08.2007 21:21 |