Skip to content

Using outerWidth with tables can yield uncertain results #143

Closed
brandwaffle opened this Issue Oct 16, 2012 · 0 comments

1 participant

@brandwaffle

Pertaining to entry http://api.jquery.com/outerWidth/

User comment:
"outerWidth does not seem to take account of td border when border-collapse:collapse is in effect. Which kind of makes sense - a collapsed border doesn't really belong to either cell - but it's probably worth mentioning; it took me a while to puzzle it out. Demo: http://jsfiddle.net/mikecapp/rgRtx/"

Upon inspection at dev summit, group noted:
"Need documentation explaining that using outerWidth (or really any CSS-related methods) with tables can be problematic and yield unexpected results."

@dmethvin dmethvin closed this in 8125dbb May 19, 2013
@AurelioDeRosa AurelioDeRosa added a commit to AurelioDeRosa/api.jquery.com that referenced this issue Jan 22, 2015
@AurelioDeRosa AurelioDeRosa Update error.xml
Fix issue #143.
b530614
@AurelioDeRosa AurelioDeRosa added a commit to AurelioDeRosa/api.jquery.com that referenced this issue Oct 7, 2015
@AurelioDeRosa AurelioDeRosa Error: Improved image example
Fixes gh-143
Closes gh-630
92ea75f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.