CSS: Using a Javascript Expression

Use an expression in javascript like the example below:

  td.locked_left, th.locked_left {
    background-color: #88ff88;
    font-weight     : bold;
    left            : expression(document.getElementById('table_container').scrollLeft);
    border-left     : 1px solid #ffffff;
    position        : relative;
    z-index         : 1
  }

Leave a Reply