28 August 2009

Expressions allow javascript to be placed in the style sheet. Internet Explorer only though.

Example:

.internetexplorercontent {
  position: absolute;
  top: expression((offsetParent.scrollTop + 10) + 'px');
}

Less Is More ~ Older posts are available in the archive.