![]() |
SELFHTML Forumsarchiv |
|
|
Die folgende Nachricht zum Thema stammt von: robert, 30. 05. 2003, 22:11
hi,
wieso funtioniert die tabellenformatierung nicht mit css ?
zb:
table { border:0px; padding:5px; margin:0px; background-color:#0000ff }
padding (für cellpadding) und margin (für cellspacing) werden leider ignoriert.
padding funtioniert nur in td, tr.
gibts eine andere methode, oder sind die heutigen browser zu dumm dazu?
mfg
robert
Die folgende Nachricht zum Thema stammt von: MudGuard, 30. 05. 2003, 23:05
Hi,
»» table { border:0px; padding:5px; margin:0px; background-color:#0000ff }
»» padding (für cellpadding) und margin (für cellspacing) werden leider ignoriert.
cellpadding betrifft die Zellen. Daher muß es in der Zelle angegeben werden.
»» gibts eine andere methode, oder sind die heutigen browser zu dumm dazu?
cellspacing hat nichts mit margin zu tun.
border-spacing und border-collapse sind die zuständigen CSS-Properties.
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/
Die folgende Nachricht zum Thema stammt von: robert, 30. 05. 2003, 23:41
toll. border-spacing wird vom ie nicht interpretiert :(
mfg
robert
© 1998-2006
Impressum, Software: Classic Forum