Two questions: highlighting text and image links

Discussion in 'HTML & Website Design' started by MelogKnaj, Apr 14, 2008.

  1. #1
    How do you make a header image link back to the home page of a website? Also right now when I highlight text on my site it just turns the text blue, but the area behind the text remains white, how do I make the area behind the text change to blue as well? Thanks in advance fro the help.
     
    If someone posts a solution, use the "Best Answer" link in their post to pick it as the best answer.
    MelogKnaj, Apr 14, 2008 IP
  2. thebestcoder

    thebestcoder Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a href="www.yourdomain.com"><img src="http://www.yourdomian.com/link/to/image.jpg" alt="header-description"/></a>

    use css to change background color of text like background-color
     
  3. MelogKnaj

    MelogKnaj Guest

    Best Answers:
    0
    #3
    Is there a way to do the header in CSS? I can't find the html part to change it, it only seems to happen in the stylesheet.
     
    MelogKnaj, Apr 14, 2008 Set Best Answer IP
  4. astarwebdesigns

    astarwebdesigns Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    in CSS if your using DW, just click on the header in design view and at the bottom is a properties inspector, where it says link type in the URL you want it to go to when clicked... but make sure you have a hash (#) before the http part of the URL.. hope this helps

    and im not sure how to change the background of the text a different color, behaviours arnt my best field :p
     
  5. MelogKnaj

    MelogKnaj Guest

    Best Answers:
    0
    #5
    This is in wordpress if it helps, I still can't figure out how to make the header link to something. The header is in there as the background which apparently makes it difficult to do. This is about the site in my sig if it helps. Any idea how to make a background image a link or just make it a normal image?
     
    MelogKnaj, Apr 14, 2008 Set Best Answer IP