Results 1 to 3 of 3

Thread: where is this mysterious padding coming from?

  1. #1
    Join Date
    Jul 2005
    Posts
    222
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Question where is this mysterious padding coming from?

    http://japantown.awardspace.com/

    you can see the space below and above the search bar is pretty much the same.

    thats because i made the top of the bar have a padding of 14px.

    the padding below the bar is just there magically.

    setting image padding to 0 doesnt work, so where is it getting that bottom padding from?

    manually setting the bottom padding to 0 doesnt make it go away either.
    Last edited by Johnnymushio; 04-24-2011 at 09:07 AM.
    My Web Site
    Japan Town

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    687
    Thanks
    1
    Thanked 113 Times in 111 Posts

    Default

    Hi there ,

    if you wish to reduce the space below the search bar, then play with the highlighted values here....
    Code:
    
    #header {
        background-image:url('/header.gif');
        background-repeat:no-repeat;
        background-position:0 -7px;     /*  I have added this attribute  */
        height:150px;
        width:900px;
        margin:-4px 25px 0 25px;
        padding:0;
        position:relative;
     }
    
    coothead

  3. The Following User Says Thank You to coothead For This Useful Post:

    Johnnymushio (04-16-2011)

  4. #3
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I had a similar problem with the space below the search bar and coothead's method worked. Cheers, Mary

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
  •