Skip to content

Commit 8125dbb

Browse files
committed
Add note about .outerWidth() on border-collapse tables. Close jquerygh-143.
1 parent 075cb6a commit 8125dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/outerWidth.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<longdesc>
1212
<p>Returns the width of the element, along with left and right padding, border, and optionally margin, in pixels.</p>
1313
<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><a href="/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><a href="/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>
1515
<p class="image">
1616
<img src="/resources/0042_04_06.png"/>
1717
</p>

0 commit comments

Comments
 (0)