Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Textarea / Input / Form – Problem with spacing

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30341
    Anonymous
    Inactive

    Hi there,

    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):

    http://cl.ly/5987344fd8dec3d9ffb8

    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)?

    Cheers,
    Fred

    #79124
    Chris Coyier
    Keymaster

    at the top of your css code, put this..

    *{
    margin: 0 auto;
    padding: 0;
    }

    See if that works.

    #79125
    Anonymous
    Inactive

    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!

    #79122
    Bob
    Member

    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.

    #79102
    TheDoc
    Member

    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:

    http://cl.ly/5987344fd8dec3d9ffb8

    #79106
    Anonymous
    Inactive

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.