Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    eLK
    eLK is offline
    New Coder
    Join Date
    Dec 2007
    Posts
    47
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Header image width 100%

    The top green bar is getting cut off on the end, how do I fix this?

    Thanks

    http://silentskymedia.com

  • #2
    New Coder
    Join Date
    Nov 2008
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts
    I would try the following:

    Make the header margin: 0px instead of auto

    and take out center for your background, so it's just:

    background: transparent url(images/header.jpg) repeat-x top;

  • #3
    eLK
    eLK is offline
    New Coder
    Join Date
    Dec 2007
    Posts
    47
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Tried it, no luck though. Any other ideas?

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,855
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Add
    Code:
    *{margin:0;padding:0}
    into your CSS to remove all browser specific default values of margins and paddings from all elements. Or you may just add
    Code:
    body{margin:0;padding:0}
    in this case.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    eLK (02-16-2011)

  • #5
    eLK
    eLK is offline
    New Coder
    Join Date
    Dec 2007
    Posts
    47
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Perfect, thank you!


  •  

    Posting Permissions

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