SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist Pixelateur's Avatar
    Join Date
    Feb 2006
    Location
    Hamburg, Germany
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Mysterious gap underneath input box

    This really isn't a big issue, but can someone tell me why there's always a gap underneath the E-Mail input box on my contact form?

    I really can't seem to find a solution to this problem...

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I think you have an unnecessary class on that input:
    Code:
    <p><label for="email">E-Mail:</label><input id="email" name="from" class="required email" type="text"></p>
    It's applying this space:
    Code:
    .email {background-image: url(/images/mini/email.png); margin-bottom: 1em;}
    Happy ADD/ADHD with Asperger's

  3. #3
    SitePoint Evangelist Pixelateur's Avatar
    Join Date
    Feb 2006
    Location
    Hamburg, Germany
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Erik,

    Yes, you are so right. I've looked at this code for so long. But it seems I couldn't see the wood for all the trees.

    Thanks so much, works like a charm now...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •