tabellenformatierung
robert
- css
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
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
toll. border-spacing wird vom ie nicht interpretiert :(
mfg
robert