How do I make my header link back to my homepage?

Discussion in 'HTML & Website Design' started by MelogKnaj, May 30, 2008.

  1. #1
    How do I make my header link back to my homepage? The site in question is in my sig. Any help with be appreciated.
     
    If someone posts a solution, use the "Best Answer" link in their post to pick it as the best answer.
    MelogKnaj, May 30, 2008 IP
  2. Homie0781

    Homie0781 Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to make it an actual image instead of being a background image. Then, just make the image link to your homepage.
     
    Homie0781, May 30, 2008 Set Best Answer IP
  3. Rohit007145

    Rohit007145 Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    or you could just put a big transparent div up there and link it to your homepage.
     
  4. aubenrey

    aubenrey Banned

    Messages:
    126
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Remove the

    background-image: url(images/cod4sourcesmall.jpg);

    from the header section of your css file

    Then

    in the <div class="header"> section add this code

    <a href="/" title="Home"><img src="/images/cod4sourcesmall.jpg" border="0" /></a>

    That should do it for you .

    aubenrey
     
    aubenrey, May 31, 2008 Set Best Answer IP
  5. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yep it's up to you, you can either have your header look like this:

    <div id="header">
    <h1>My Site Keyword or 2 Maybe!</h1>
    </div>

    See: http://www.pmob.co.uk/temp/headerreplacement3.htm
    Or
    <div id="header">
    <a href="/" title="Home & Maybe Keyword or 2"><img src="/images/cod4sourcesmall.jpg" border="0" / alt="Some Description"></a>
    </div>

    Both can be made to look like a clickable header, without any differences.
     
    wd_2k6, May 31, 2008 Set Best Answer IP