Aqua: padding und magin bei CSS für Block oder Inline??

Hallo!

Frage zu CSS:
ist margin-left  und margin-top
ausschliesslich für BLOCK-Elemente gedacht,
oder auch für INLINE-Elemente??

Selbe Frage bei padding-left und padding-top:
Inline oder Block??

Danke
Aqua

  1. Hi,

    Hallo!

    Frage zu CSS:
    ist margin-left  und margin-top
    ausschliesslich für BLOCK-Elemente gedacht,
    oder auch für INLINE-Elemente??

    Was hat Dich davon abgehalten, im Standard nachzusehen?
    http://www.w3.org/TR/CSS2/box.html#propdef-margin-top

    Selbe Frage bei padding-left und padding-top:
    Inline oder Block??

    Selbe Gegenfrage: Was hat Dich davon abgehalten, im Standard nachzusehen?
    http://www.w3.org/TR/CSS2/box.html#propdef-padding-top

    cu,
    Andreas

    --
    Der Optimist: Das Glas  ist halbvoll.  - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
    http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/