Home > Uncategorized > Addendum.

Addendum.

Last week I talked about a rounding error with IE related to active scaling. In it I included some CSS to work around this.

* html #content-column,
*:first-child+html #content-column {
margin-left: -1px;
}

This is wrong. The correct CSS should be:

* html #content-column {
margin-left: -1px;
}
*:first-child+html #content-column {
margin-left: -1px;
}

The reson being that IE 5 doesn’t like the *:first-child+html IE7 hack and will ignore the entire rule set. So you have to keep them separated.

Categories: Uncategorized
  1. No comments yet.