You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/outerWidth.xml
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
<longdesc>
12
12
<p>Returns the width of the element, along with left and right padding, border, and optionally margin, in pixels.</p>
13
13
<p>If <code>includeMargin</code> is omitted or <code>false</code>, the padding and border are included in the calculation; if <code>true</code>, the margin is also included.</p>
14
-
<p>This method is not applicable to <code>window</code> and <code>document</code> objects; for these, use <code><ahref="/width">.width()</a></code> instead.</p>
14
+
<p>This method is not applicable to <code>window</code> and <code>document</code> objects; for these, use <code><ahref="/width">.width()</a></code> instead. Although <code>.outerWidth()</code> can be used on table elements, it may give unexpected results on tables using the <code>border-collapse: collapse</code> CSS property.</p>
0 commit comments