Thanks a Lot, it work perfectly. I should have thought of this Laurent ----- Original Message ----- From: "Massimo Foti" <massimo at amila.ch> To: "[JavaScript List]" <javascript at LaTech.edu> Sent: Wednesday, August 24, 2005 1:42 PM Subject: Re: [Javascript] mozilla & doctype Bug >> document.getElementById('myDiv').style.width = '100'; > > This should work: > document.getElementById('myDiv').style.width = '100px'; > > ---------------------------- > Massimo Foti > Tools for ColdFusion and Dreamweaver developers: > http://www.massimocorner.com > ---------------------------- > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript