search for: 322px

Displaying 1 result from an estimated 1 matches for "322px".

Did you mean: 322p
2006 Jan 06
3
Protoype problem
...ich actually copies the top, left, offsetWidth and offsetHeight from the src to the target. interestingly, my src-object had a css-styled border of 1px, and a total offsetWidth of 320px. my target-object had the same properties, but once I did the position-clone function, my target-object had a 322px width, because the width AND the border (1px on each side) was added. alert("src " + src.offsetWidth); // returns 320 Position.clone(src, target); alert("target " + target.offsetWidth); // returns 322 Once I removed the border, both had the 320px width. I run Firefox 1.5 w...