<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?

Reply via email to