Skip to content

Using outerWidth with tables can yield uncertain results #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Using outerWidth with tables can yield uncertain results #143

brandwaffle opened this issue Oct 16, 2012 · 0 comments

Comments

@brandwaffle
Copy link
Contributor

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."

AurelioDeRosa added a commit to AurelioDeRosa/api.jquery.com that referenced this issue Jan 22, 2015
AurelioDeRosa added a commit to AurelioDeRosa/api.jquery.com that referenced this issue Oct 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant