Problem with the header. Help Please

Discussion in 'HTML & Website Design' started by aspire, Feb 29, 2008.

  1. #1
    I am having problem with fixing up my header

    The site is http://www.1bloc.com/

    If I insert the header at the top the remaining things like the search button, the RSS feed button, the blog title and tagline move either up or down. They do not remain there.

    I want it look something like this but its not happening


    http://i32.tinypic.com/2liif0p.jpg

    Can somebody help me, please ?

    Thanks
     
    aspire, Feb 29, 2008 IP
  2. pkerr1975

    pkerr1975 Peon

    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have just checked it out and it looks like you have it working.
     
    pkerr1975, Feb 29, 2008 IP
  3. juan-roman

    juan-roman Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Have you tried setting the header image(s) as the background image for the header div?

    JR
     
    juan-roman, Feb 29, 2008 IP
    aspire likes this.
  4. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #4
    Can you please guide me with how to set it as a background image for header div ?
     
    aspire, Feb 29, 2008 IP
  5. richer2004

    richer2004 Guest

    Messages:
    406
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The site is working fine here!
     
    richer2004, Feb 29, 2008 IP
  6. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #6
    The images are not loaded. Background images as suggested could be a solution. But I don't know how to do that. Please help.
     
    aspire, Feb 29, 2008 IP
  7. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #7
    The images in the middle are not there. The header is right now not loaded.

    This is how I wish it to be but once the header is loaded, but the current structure moves either up or down - as I said earlier.

    http://i32.tinypic.com/2liif0p.jpg

    How to fix up background images for header (if that could be a solution).
     
    aspire, Feb 29, 2008 IP
  8. juan-roman

    juan-roman Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Something like this:

    #header {
    background: url(header.gif) no-repeat top center;
    }

    in the CSS should do the trick.


    JR
     
    juan-roman, Feb 29, 2008 IP
  9. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #9

    I will try this right now.
     
    aspire, Feb 29, 2008 IP
  10. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #10
    I have done the code but there seems to be some error. The images are duplicating (repeating) itself.

    This is the code that I used.

    #header {

    background: url() no-repeat top center;

    }


    So, is there any error. This is how it looks: http://www.1bloc.com/
     
    aspire, Feb 29, 2008 IP
  11. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #11
    Ok. Its done. I changed the no-repeat top center to no-repeat top right

    Thanks JR for the help. Positive Reps for that. :)
     
    aspire, Feb 29, 2008 IP
  12. juan-roman

    juan-roman Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Ah. . Try:

    #header {
    background-image: url(IMAGE);
    background-position: top center;
    background-repeat: no-repeat;
    }

    JR
     
    juan-roman, Feb 29, 2008 IP
  13. juan-roman

    juan-roman Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Ah, cool. I'm glad it's working :)
     
    juan-roman, Feb 29, 2008 IP
  14. aspire

    aspire Well-Known Member

    Messages:
    4,003
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    175
    #14
    Thanks for the help JR :)
     
    aspire, Mar 9, 2008 IP