views:

27

answers:

1

Hello, the problem is that if the margin is set to auto ie7 returns auto, while other browsers return the px value, for example look at this:

http://jsfiddle.net/Pyadk/

In chrome it returns 0px, while ie7 returns auto

So, is there any way to force explorer to return the computed value of that margin?

Thank you

+2  A: 

There's a plugin calles JSizes that should solve your problem: http://www.bramstein.com/projects/jsizes/

A. M.
It does seem to work, thanks!
diegogs