1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Image wont display! whats going on?

Discussion in 'HTML & Website Design' started by fuser00, Jul 11, 2007.

  1. #1
    Hi, im fuser and im trying to insert an image but the image wont show...

    is the code wrong?

    take a look:

    
    <a href="http://www.sc4m.com/categories.php?c=1" target="_blank> 
    <img src="http://www.sc4m.com/templates/sc4m/images/1.png" border="0"> </a>
    Code (markup):
    I inserted it in the main.tpl of my directory

    Does anyone know what happened? Ive also tried with the {literal}
    {/literal} but still doesnt work..

    if somebody can help, i will be very happy ;)

    Thanks, fuser
     
    fuser00, Jul 11, 2007 IP
  2. clookid

    clookid Notable Member

    Messages:
    1,042
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    225
    #2
    <a href="http://www.sc4m.com/categories.php?c=1" target="_blank"> 
    <img src="http://www.sc4m.com/templates/sc4m/images/1.png" border="0"> </a>
    Code (markup):
    You missed out a quote after "_blank."
     
    clookid, Jul 11, 2007 IP
    fuser00 likes this.
  3. fuser00

    fuser00 Well-Known Member

    Messages:
    1,212
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    150
    #3
    thanks!!

    it worked...now, why is there a small space between each image? they where made to fit three images per line but now with that space only two fit..

    can this be fixed?

    thanks again for the help!

    fuser
     
    fuser00, Jul 11, 2007 IP
  4. fuser00

    fuser00 Well-Known Member

    Messages:
    1,212
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    150
    #4
    forgot to say that the url to check it is www.sc4m.com

    thanks, fuser
     
    fuser00, Jul 11, 2007 IP
  5. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #5
    Try taking out the space before the </a> on each one.
     
    ing, Jul 11, 2007 IP
    fuser00 likes this.
  6. fuser00

    fuser00 Well-Known Member

    Messages:
    1,212
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    150
    #6
    what can i say...thanks again!!!

    i will add good reputation to both

    thanks again
     
    fuser00, Jul 11, 2007 IP
  7. clookid

    clookid Notable Member

    Messages:
    1,042
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    225
    #7
    Awww, thanks fuser00!

    A much cleaner way to use your images is the following:

    <a href="http://www.sc4m.com/categories.php?c=1" target="_blank"><img src="http://www.sc4m.com/templates/sc4m/images/1.png" border="0"></a>
    Code (markup):
    It will help with compatibility in all web browsers.
     
    clookid, Jul 12, 2007 IP