CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
I am designing a web form and I can’t really tell, why there is extra space at the bottom of the textarea.
This link might give you a better unterstanding (no worries, it is a link to an image, shared on cloadapp):
Sorry for the german text, but this image shows – here in Safari – that there is some extra margin/padding after this textarea.
Could anyone help me to clear this extra space, so there is equal space (top/bottom)?
at the top of your css code, put this..
margin: 0 auto;
See if that works.
Doesn’t work. I use Eric Meyer’s CSS Reset. It is much better than this simple reset.
But thank you for your fast suggestion!
We’re gonna have to see some code to see where the problem lies. You’ve probably set some margin-top or margin-down on either the button or the text field. Show some code and we can help you.
We’re gonna have to see some code to see where the problem lies.
The user has provided a link to the problem page already:
Now I got it: I see there isnt a reset for input and textarea so I only need to write display:block and margin:0 and everything is fine.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed