Hi,
Hallo,
ist es standardkonform margin's bei dem img Tag zu verwenden. Eigentlich ist img ja ein Inlinetag und ich denke mal margin ist wohl nur für Blockelemente, oder ist das egal?
Weder bei
'margin-top', 'margin-right', 'margin-bottom', 'margin-left'
Value: <margin-width> | inherit
Initial: 0
Applies to: all elements
Inherited: no
Percentages: refer to width of containing block
Media: visual
noch bei
'margin'
Value: <margin-width>{1,4} | inherit
Initial: not defined for shorthand properties
Applies to: all elements
Inherited: no
Percentages: refer to width of containing block
Media: visual
sehe ich eine Einschränkung auf block-Elemente. "Applies to: all elements" ist eigentlich ziemlich eindeutig.
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/