For some reason IE has decided to use e.currentStyle['min-width'] for 
min-width, max-width, min-height and max-height, while it uses the 
e.currentStyle['fontSize'] for everything else.

As such, $.curCSS will simply treat them as undefined, unless you replace:
p = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()});

with:
p = p.replace(/([^min|max])-(\w)/g,function(m,c1,c2){return c1 + 
c2.toUpperCase()});


This creates a special case for min/max properties.  Is there any way 
this could be included in SVN sharpish, as for such a trivial fix it 
solves a right PITA for me.


Best wishes,
Dave Cardwell ~ http://davecardwell.co.uk/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to