Skip to content
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

2px Padding on Textarea in Chrome #412

Closed
joequery opened this issue Mar 30, 2011 · 0 comments
Closed

2px Padding on Textarea in Chrome #412

joequery opened this issue Mar 30, 2011 · 0 comments

Comments

@joequery
Copy link

Regarding the style

/* webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

Chrome is displaying padding:2px as opposed to margin in dev tools. Changing the style to {margin: 0; padding: 0} fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants