WordPress.org

Ready to get started?Download WordPress

Forums

clickable header (8 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Could someone please give me the coding I need to use to make my header clickable? Thanks

  2. NuclearMoose
    Member
    Posted 9 years ago #

    All the code you need is already there.
    Perhaps a visit to http://w3schools.org/ and a look into the HTML tutorials would be a big help to you.

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    I'm still confused. I'm asking how to make the header image clickable to link back to my main page.
    My site is continuous-play.com

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    thanks, that fixed it

  5. BenDG
    Member
    Posted 9 years ago #

    Actually, you don't need to put the image in the html, you can make it work from css, as I have done for example on http://stijlstek.nl/greek2me/
    Your html could be something like:
    <div id="header">
    <h1 title="Back to the homepage">Continuous play</h1>
    </div>

    Then in your css you do something like:
    h1 a {
    background: url("header.jpg") no-repeat;
    display: block;
    text-indent: -7777px;
    height: 200px;
    width: 500px;
    }

  6. redsoxnut
    Member
    Posted 9 years ago #

    Do this:
    .header {
    background-image: url(header.jpg);
    display: block;
    width: 500px;
    height: 200px;
    }

    Then call it not by using a DIV but by using:

  7. somefool
    Member
    Posted 9 years ago #

  8. Anonymous
    Unregistered
    Posted 9 years ago #

    Thanks for all your help. I'm getting it working now!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.