May 12, 2008

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.

Posted by Ruthsarian at 10:48 AM | Comments (0)

Comments

Post a comment










Code:
Type Code:

Remember personal info?