If you use jQuery to set the width of an object to a specific pixel, you can reset the width or remove the pixel setting using the following.
//set the width
$("#myObjectId").width("125");
//remove the width
$("#myObjectId").css('width', 'auto');