This is the code I am working with:

$("div.labelOff")
        .css("padding-left","23px")
        .prepend('<a href="#" class="openBoxButton"
title="Open section"></a>')
        .find("../div:last",this)
        .hide()
        .end()
        .find("a.openBoxButton")
        .toggle(function(){
           // do stuff
        });

This code fails to execute padding-left in IE. This
worked before in jQuery versions prior to 1.0. Also,
it still does not work in 1.0.1.

I also tried to use -right -top and -bottom, but none
affected the rendered box in IE. 

To work around I simply used .css("padding","0 13px 0
23px") . Though this is not ideal because I may need
to change the other dimensions later. In that case,
both the Javascript and CSS will have to be updated.

Thanks,
Christian Gove

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to