The horizontal dimensions of the dialog-box, as retrieved from the css() method:
- width:
- padding-left:
- padding-right:
- border-left-width:
- border-right-widht:
- margin-left:
- margin-right:
- left:
- right:
Another solution is to use the data() method to save the outerWidth() return value for the element right before we hide it. (The current outerWidth() value saves every time right before you hide the dialog-box)
The return value of outerWidth():