On 4/6/07, Smith, Allex <[EMAIL PROTECTED]> wrote:


<div id="mytest">Test</div>
 $('#mytest').attr({style:"width:200px;"});
 returns
 <div id="mytest" style="width: 200px;">Test</div> in FF2
 <DIV id=mytest>Test</DIV> in IE6
 I must be going mad.
 Any suggestions as to where I might be going wrong?



or if you need multiple:
$("#mytest'").css({ color: "red", width: "200px" });

Reply via email to