AlexS.: cellspacing in css

hallo

ich habe ein problem. ich kann die attribute für <table> nicht im table-tag festlegen, sondern muß dies über css machen. jetzt kommt schon mein problem:

wie drückt man in stylesheet das attribut cellspacing sowie cellpadding aus? mit cell-spacing?
oder geht das überhaupt? wie muß die größenangabe danach erfolgen?

AlexS.

  1. Hi Alex,
    schau doch mal auf http://www.w3.org/TR/REC-CSS1 unter
    box-properties nach. Vielleicht findest Du dort was brauchbares.
    Gruß Wolf

  2. Hallo!

    wie drückt man in stylesheet das attribut cellspacing sowie cellpadding aus? mit cell-spacing?
    oder geht das überhaupt? wie muß die größenangabe danach erfolgen?

    Am einfachsten:
    td { padding:5px; }

    Aber du wirst nicht viel Freude damit haben, da NS manchmal ganz schön abstürzen kann deshalb.

    Grüße
    Thomas