jparallax icon indicating copy to clipboard operation
jparallax copied to clipboard

Border should be set for IE

Open ghost opened this issue 14 years ago • 1 comments

Mouseport element should have "border: 0" to work properly in IE6-8. By default borderLeftWidth is "medium" in IE, resulting in "NaN" css property calculation. Documentation does not mention this.

ghost avatar Mar 02 '10 01:03 ghost

Good catch. I'd prefer not to force the designer to have 0 border on the mouseport. I'll investigate a solution that takes account of border width (using outerHeight / outerWidth as measurements would be a good start).

stephband avatar Mar 02 '10 08:03 stephband