Hallo,
Mein Problem ist folgendes:
Ich möchte eine Tabelle zentrieren. Im FF und Opera funktioniert dies wunderbar, nur im IE ist sie linksbündig. Ich mach das wie folgt:
styles.css
html { font-family:Arial }
body { background-color:#e1a352; font-family:Arial; }
td { padding-left:6; padding-right:6; padding-top:0; padding-bottom:6; margin-left:3; margin-right:3 }
a:hover {text-decoration:none}
a:active {text-decoration:bold}
a:select {text-decoration:none}
a:visited {color:blue }
h1 {color:#295511; font-size:20}
ul {list-style-image:url(../img/green_arrow.gif)}
table { margin-left:auto; margin-right:auto}
.center { text-align:center; align:center }
Und in der HTML-Datei einfach wie folgt:
<table height="80%" width="75%">
...
</table>
Hat jemand eine Idee? Ich komm einfach nicht drauf. Dass es mit der Formatierung der einzelnen Zellen zu tun hat die dann im Layout rumpfuscht kann auch nicht sein, oder? (siehe styles.css)
lg