Tag Archives: outerwidth jquery example

jQuery outerWidth Method


jQuery outerWidth Method : is used to get the width of selected element including the padding and border both. It returns width padding and border ie. outer width = border width + padding + with of container.
We are going to explain this method with example and demo.


jQuery outerWidth Method Syntax

jQuery Syntax for outer with –

$(selector).outerWidth();

jQuery outerWidth Method Example

Here is example for outer with of the container –


Try it »

If you run the above example it will produce the following output-

jQuery outerWidth Method