Chris: Stylesheet - Tabellen

hi,

sobald ich eine tabelle in html erstelle, nutzt mein stylesheet dort nichts mehr. was für eine angabe muss ich noch tätigen, damit die tabelle ebenfalls formatiert wird, wie eben der übrige text außerhalb der tabelle?

nachfolgend der code:

a:aktive {font-family: Verdana, Arial; font-size: 8pt; color: blue; font-weight: normal;
text-decoration:none; line-height: 12pt;}

a:hover
{font-family: Verdana, Arial; font-size: 8pt; color: red;
text-decoration: none; line-height: 12pt;}

body,p
{font-family: Verdana, Arial; font-size: 8pt; color: black;
line-height: 12pt;}

a
{font-family: Verdana, Arial; font-size: 8pt; color: maroon;
text-decoration: none; line-height: 12pt;}

.tabtex
{font-family: Verdana, Arial; font-size: 9pt; color: black;
line-height: 12pt;}

.menu
{font-family: Verdana, Arial; font-size:8pt; color: black;}

.head
{font-family: Verdana, Arial; font-size:9pt; color: black;
line-height:12pt;}

danke für eure hilfe.

gruss chris

  1. hi,

    sobald ich eine tabelle in html erstelle, nutzt mein stylesheet dort nichts mehr. was für eine angabe muss ich noch tätigen, damit die tabelle ebenfalls formatiert wird, wie eben der übrige text außerhalb der tabelle?

    nachfolgend der code:

    .tabtex
    {font-family: Verdana, Arial; font-size: 9pt; color: black;
    line-height: 12pt;}

    dieses style deutet eigentlich darauf hin, das es für die tabelle ist.

    1. Frage: hast du dein td mit class="tabtex" versehen oder nicht?
    2. Frage: hast du in der Tabelle weitere Tags oder nicht?

    alex

  2. Hallo,

    a:aktive {...

    Na, da sollte doch sicher "active" stehen?

    body,p, td
    {font-family: Verdana, Arial; font-size: 8pt; color: black;
    line-height: 12pt;}

    Grüße aus Würzburg
    Julian

  3. hi, hatte leider die angabe tabtex im table tag vergessen.

    läuft jetzt alles.

    danke für eure hilfe :)

    gruss chris