tabelle horizontal zentrieren
mandy
- css
ich möchte alle tabellen auf meiner HP horizontral zentrieren.
hab eine globale css-datei, worin alles definiert wird.
nun dachte ich, dass ich einfach
TABLE{ align: center}
schreibe und alles ist gut. das tut's aber nicht...
wieso gibt es v-align (vertikale ausrichtung), aber nix für horizontal (ausser für text)??
dankö für hilfe!!
mandy
ich möchte alle tabellen auf meiner HP horizontral zentrieren.
table {
margin-left: auto;
margin-right: auto;
}
steht uebrigens auf
http://www.netandmore.de/faq/fom-serve/cache/1239.html
http://www.netandmore.de/faq/
alias
http://www.dciwam.de/faq/
ist die FAQ der Newsgroup
news:de.comm.infosystems.www.authoring.misc
mfg
Thomas
ich möchte alle tabellen auf meiner HP horizontral zentrieren.
table {
margin-left: auto;
margin-right: auto;
}
steht uebrigens auf
http://www.netandmore.de/faq/
alias
http://www.dciwam.de/faq/
ist die FAQ der Newsgroup
news:de.comm.infosystems.www.authoring.misc
mfg
Thomas
oh, danke thomas! so hatte bisher nur im selfhtml gesucht...
is ja doch ganz einfach. :-)
ich möchte alle tabellen auf meiner HP horizontral zentrieren.
table {
margin-left: auto;
margin-right: auto;
}
jetz stell ich aber plötzlich fest, dass das ganze zwar im opera (6.01) und im mozilla 1.0 funzt, aber nicht im IE 6. :-((
muss ich da wohl oder übel <table align="center"> im quelltext lassen?