Teil von SELFHTML Forum Teil von SELFHTML Forumsarchiv Teil von 2003 Teil von Mai

SELFHTML Forumsarchiv
tabellenformatierung

Informationsseite
  1. Seite (CSS) tabellenformatierung von robert, 30. 05. 2003, 22:11
nach unten

tabellenformatierung

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

nach obennach unten

tabellenformatierung

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/

nach obennach unten

tabellenformatierung

Die folgende Nachricht zum Thema stammt von: robert, 30. 05. 2003, 23:41

toll.  border-spacing wird vom ie  nicht interpretiert :(

mfg
robert

nach oben
Teil von SELFHTML Forum Teil von SELFHTML Forumsarchiv Teil von 2003 Teil von Mai

© 1998-2006 Seite Impressum, Software: Classic Forum