Skip to content

Commit

Permalink
Add note about .outerWidth() on border-collapse tables. Close gh-143.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed May 19, 2013
1 parent 075cb6a commit 8125dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entries/outerWidth.xml
Expand Up @@ -11,7 +11,7 @@
<longdesc>
<p>Returns the width of the element, along with left and right padding, border, and optionally margin, in pixels.</p>
<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>
<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>
<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>
<p class="image">
<img src="/resources/0042_04_06.png"/>
</p>
Expand Down

0 comments on commit 8125dbb

Please sign in to comment.