This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
top: expression(document.body.scrollTop + document.body.clientHeight - offsetHeight); The above is a CSS expression I use often for keeping the footer stuck to the botom of the page. For some reason the validator returns the following error: Invalid number : top Parse Error I really would appreciate some clarification as to the status of CSS expressions.
The 'expression' syntax is a Microsoft invention and not part of CSS. Seeing as this is an IE-only statement you could move it to a seperate stylesheet using conditional comments ( http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/ccomment_ovw.asp ). The stylesheet with the expression statement in will still be invalid, but it won't be picked up by the validator or other browsers. --> INVALID