SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast ghealy44's Avatar
    Join Date
    Sep 2010
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    wierd padding issue

    hey guys, im experiencing something odd, might need another set of eyes to look at this because I cant see any issue for the life of me.

    Here is the page: http://www.glenhealy.com/ghwordpress/

    if you look at the header, there is 10px of padding at the top, and I have no clue why its there. Ive been trying many different ways of doing things off and on since yesterday, and I now have all kinds of unneeded stuff in my css that ill have to remove but needless to say, none of it worked/helped so Im tapped out.

    I basically only want the black noisy texture to align with the top of the page. Right nwo, there is a weird little yellow strip above it.

    any ideas?

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    Remove the float from #header_container and use overflow:hidden; to enclose the floated #logo_area

    Code:
    #header_container{ 
        position:relative;
        overflow:hidden; /*float:left*/
        background:#000 url('../images/header-back.png');
        background-position:top center ;
        background-repeat:repeat-x;
        width:100%; /*IE6 float containment*/
    }

  3. #3
    SitePoint Enthusiast ghealy44's Avatar
    Join Date
    Sep 2010
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perfection. Thank you so much!


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
  •