Help me with background code...

Discussion in 'HTML & Website Design' started by Zoti Media Group, Dec 24, 2012.

  1. #1
    Hi.

    Can someone help me to add link to this background:

    <div style="background-image:url(banner.png);padding:5px;width:1023px;height:279px;border:0px solid black;background-repeat:no-repeat;">
    Code (markup):
    I want to add link to that background image (banner.png)


    Thanks.
     
    Zoti Media Group, Dec 24, 2012 IP
  2. vksinghal

    vksinghal Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    <a href="#">Link</a>

    Regards,
    Vijendra
    phploaded.com
     
    vksinghal, Dec 24, 2012 IP
  3. fullseoweb

    fullseoweb Greenhorn

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Try This:
    <div style="background image:<a href=".../banner.png">Your Keywords</a>;padding:5px;width:1023px;height:279px;border:0px solid black;background-repeat:no-repeat;">
     
    fullseoweb, Dec 25, 2012 IP
  4. agitetech

    agitetech Peon

    Messages:
    122
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can try this: <div style="background image:<a href="banner.png">Keywords</a>;padding:5px;width:1023px;height:279px;border:0px solid black;background-repeat:no-repeat;">
     
    agitetech, Dec 25, 2012 IP
  5. Zoti Media Group

    Zoti Media Group Notable Member

    Messages:
    1,599
    Likes Received:
    113
    Best Answers:
    2
    Trophy Points:
    265
    Digital Goods:
    2
    #5
    background image:<a href=".../banner.png"> that makes link to that background lol.


    The solution was:
    I have added this code

     
    Zoti Media Group, Dec 26, 2012 IP