cellpadding in CSS
htmlgau
- css
Was würde in CSS VOLLSTÄNDIG
cellpadding="5"
entsprechen?
Dankeschön
hi
td {padding: 0;}
so long
Ole
(8-)>
td {padding: 0;}
wäre cellspacing dann
td {spacing: 0;}
???
Viele Grüße,
coolblue
td {spacing: 0;}
ich glaub
td {margin:0;}
habs aber noch nich ausprobiert...
Hi,
td {spacing: 0;}
ich glaub
td {margin:0;}
Nein, tabelleninterne Elemente haben keine margins. border-spacing für die Tabelle ist das richtige.
cu,
Andreas
hi
wäre cellspacing dann
td {spacing: 0;}
nein, denn "spacing" gibt es in CSS in nicht.
so long
Ole
(8-)>
Danke.
Viele Grüße,
coolblue
td {padding: 0;}
und wie kann ich das alles auf die tabelle übertragen? das fänd ich nämlich sehr toll.
und wie kann ich das alles auf die tabelle übertragen? das fänd ich nämlich sehr toll.
im <head> Tag </head> oder in einer externen css-Datei, die du dann in diesem Tag aufrufen musst.
Viele Grüße,
coolblue
im <head> Tag </head> oder in einer externen css-Datei, die du dann in diesem Tag aufrufen musst.
das gibt einen blauen fleck ^^
dankeschön, es funzt!
dankeschön, es funzt!
Für zentrale Formate:
http://de.selfhtml.org/css/formate/zentrale.htm
Für externe Dateien:
http://de.selfhtml.org/css/formate/einbinden.htm
Viele Grüße,
coolblue
Hi,
td {padding: 0;}
Nicht wirklich. 1. war cellpadding="5" die Vorgabe, 2. betrifft cellpadding auch th-Elemente.
Also
td,th { padding:5px; }
cu,
Andreas