Table formatierung
MikeC
- css
hi leute,
ich habe ein table was 3 spalten hat (20px,40,px,20px) - in jeder spalte kommt ein bild (png) mit gleicher größe was mit 80px ein gesamtbild ergibt. css für table verwende ich:
table {
border: 0px;
border-width: 0px;
border-collapse:collapse;
border-spacing: 0px;
border-style:none;
padding: 0px;
margin: 0px;
}
Nur leider ist immer zwischen den Bildern ein px platz so dass sich kein gesamtbild ergibt (IE). was muss ich in meiner style.css eintragen?? Ohne css datei würde ich einfach :
<table width="80" cellpadding="0px" cellspacing="0">
eintragen und es geht - mit css-datei bekomme ich das einfach nicht hin ;-) Echt Kakke
Gruss Mike
ich habe ein table was 3 spalten hat (20px,40,px,20px) - in jeder spalte kommt ein bild (png) mit gleicher größe was mit 80px ein gesamtbild ergibt. ...
Nur leider ist immer zwischen den Bildern ein px platz so dass sich kein gesamtbild ergibt (IE). was muss ich in meiner style.css eintragen?? Ohne css datei würde ich einfach :
<table width="80" cellpadding="0px" cellspacing="0">
eintragen und es geht - mit css-datei bekomme ich das einfach nicht hin
Achte auf whitespace zwischen <td> <img> </td>
Achte auf default CSS-Werte für img
mfg Beat;
ich habe ein table was 3 spalten hat (20px,40,px,20px) - in jeder spalte kommt ein bild (png) mit gleicher größe was mit 80px ein gesamtbild ergibt. ...
Nur leider ist immer zwischen den Bildern ein px platz so dass sich kein gesamtbild ergibt (IE). was muss ich in meiner style.css eintragen?? Ohne css datei würde ich einfach :
<table width="80" cellpadding="0px" cellspacing="0">
eintragen und es geht - mit css-datei bekomme ich das einfach nicht hinAchte auf whitespace zwischen <td> <img> </td>
Achte auf default CSS-Werte für imgmfg Beat;
Das spielt keine Rolle - bei:
<table width="80" cellpadding="0px" cellspacing="0">
wirds ja auch richtig angezeigt"!!
Das spielt keine Rolle - bei:
<table width="80" cellpadding="0px" cellspacing="0">
wirds ja auch richtig angezeigt"!!
td{padding:0; border:0;}
???
mfg Beat;
Hi!
<table width="80" cellpadding="0px" cellspacing="0">
^^ ?
off:PP
@@MikeC:
ich habe ein table was 3 spalten hat (20px,40,px,20px) - in jeder spalte kommt ein bild (png) mit gleicher größe was mit 80px ein gesamtbild ergibt.
Das Zerschneiden von Bildern, um sie später wieder zusammenzusetzen, ist wohl ausschließlich beim Puzzlen sinnvoll. In allen anderen Fällen eher nicht.
Live long and prosper,
Gunnar