RE: [JSMentors] getComputedStyle and marginLeft when auto

2011-05-12 Thread Joel Dart
> Joel, > that wouldn't stop me from developing in Javascript ;-) Haha, no way! I can always just switch to solely node ;-] > I understand this is not the right answer to your question, it wasn't easy > either > guessing why these differences still exists in 2011 browsers. Yeah, offsetLeft works

Re: [JSMentors] getComputedStyle and marginLeft when auto

2011-05-11 Thread Diego Perini
Joel, that wouldn't stop me from developing in Javascript ;-) Jokes apart, I just hope "element.offsetLeft" and "element.offsetParent" fit's in your plan "B". I understand this is not the right answer to your question, it wasn't easy either guessing why these differences still exists in 2011 brow