JavaScript Tutorial

Get the outer width of element (see outer height notes above)

$("#elementid").outerWidth();
or
$("#elementid").outerWidth(true);