Hi,
Es ist nicht sinnvoll, Darstellungsangaben ins Markup reinzuschreiben. Auf @style-Attribute sollte man so gut wie immer verzichten.
Das gilt ja auch sonst eigentlich immer, auch wenn JavaScript die Styles setzt -
Also schön Inhalt und Darstellung trennen! Nicht „oder“, sondern so wie Beat sagte im Stylesheet.
- warum machst du das hier dann eigentlich nicht?
http://bittersmann.de/articles/zebra#css-expression
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]