Mel : max-height

Beitrag lesen

Hallo, ich hätte nochmal eine kurze Frage zu diesem Thema: kann es sein dass diese expressions-Angabe nicht valide ist bei Verwendung von xhtml strict?

mein css:
div#container-ie {
margin: 0 auto;
width:expression(document.body.clientWidth > 1000? "1000px": "auto" );/*be nice to IE WIN*/
}

validator sagt:

Fehler
URI : file://localhost/TextArea

* Zeile: 68 Kontext : div#container-ie

Ungültige Nummer : width Einlese-Fehler - document.body.clientWidth > 1000? "1000px": "auto" )

Wäre sehr dankbar für einen tipp,

melanie