Hallo,
I read that the <center> tag is deprecated, however I cannot find any real equivalent to it in CSS. text-align works for text but not other elements, and auto margins only work if you know the width of the container (so not a solution if you don't know the width in advance).
die zweite Hälfte ist nicht wahr, margin:auto bringt auch dann das gewünschte Ergebnis, wenn die Breite des übergeordneten Elements ("container") nicht bekannt ist. Sie muss sich nur durch andere Bedingungen eindeutig ergeben.
So long,
Martin
--
Vielseitigkeit: Von vielen Dingen keine Ahnung haben.
Selfcode: fo:) ch:{ rl:| br:< n4:( ie:| mo:| va:) de:] zu:) fl:{ ss:) ls:µ js:(
Vielseitigkeit: Von vielen Dingen keine Ahnung haben.
Selfcode: fo:) ch:{ rl:| br:< n4:( ie:| mo:| va:) de:] zu:) fl:{ ss:) ls:µ js:(