Hi, all. This simple code doesn't work for me

 <div id="a" style="background: red">
  <div id="b" style="height: 20px; background: green"></div>
 </div>

...

$(function(){
  $("#a").css("padding-right", "100px");
})


If I move it outside ready event it works ok. If I put it another
handler, onclick for example, it stops work again :(
Any ideas?

Version jQuery 1.3.2

Reply via email to