I Need A Website Programmers Help Will Pay

Discussion in 'Programming' started by mgandy, Jul 1, 2009.

  1. #1
    Hi Everyone,

    I know that there are lot of good programmers on DP. I need help with getting a background image to show up. Provide below is some code. The code highlighted in red contains the image that will not show. First person to figure out the problem will get $8.00 from me

    <tr>
    <td valign="top"><table width="641" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="3" valign="top"></td>
    <td valign="top" style="width:636px; height:84px; float:left; padding:0; margin:0; background:url(image/bottom-bg-2.jpg) 0 0 no-repeat;"><table width="636" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="433" valign="top"><img src="image/save-10%.jpg" alt="" /></td>

    <td width="10" valign="top" style="padding:0; margin:0; background:url(image/img-left-bg.jpg) 0 0 repeat-y;"></td>
    <td width="193" valign="top"><img src="image/img-4.jpg" alt="" /></td>
    </tr>
    </table></td>
    <td width="2" valign="top"></td>
    </tr>
    </table></td>
    </tr>

    Thanks in advance

    Mike
     
    mgandy, Jul 1, 2009 IP
  2. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Make sure you provide the direct URL to the image - could you paste that here please? :)
     
    Wrighty, Jul 1, 2009 IP
  3. mgandy

    mgandy Well-Known Member

    Messages:
    964
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    158
    As Seller:
    100% - 0
    As Buyer:
    77.8% - 14
    #3
    Hi,

    I'm a bit confused on what you mean by direct image url. Currently I have the index file and images within a folder on my computer documents. All of the images show up except for this one.

    The image file name is "bottom-bg-2.jpg"

    I'm pretty sure the coding has something to with it not working. I looked over everything and seems to be fine but for some reason the image doesn't show up.

    Thanks,

    Mike
     
    mgandy, Jul 1, 2009 IP
  4. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    If the image exists in that location, then there's no reason for it to not show correctly. Could you perhaps upload it online & show us please? :)
     
    Wrighty, Jul 1, 2009 IP
  5. lcdesigns

    lcdesigns Peon

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Try using the full path length to the image instead of image/bottom-bg-2.jpg
    use http://www.yourdomain.com/image/bottom-bg-2.jpg

    thanks:)

     
    lcdesigns, Jul 1, 2009 IP
  6. gameOn

    gameOn Member

    Messages:
    624
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    35
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    There are two ways to do this ,

    1. Use this for <td>

    
    <td width="636" height="84" style="background-image: url('image/bottom-bg-2.jpg'); background-repeat: no-repeat; background-position: center;">
    
    Code (markup):
    or

    2. Define the parameters in css style sheet

    
    #tdimage {background-image: url(image/bottom-bg-2.jpg);}
    
    Code (markup):
    with the specific height, width , position you need there .

    and use this to call it within the <td>
    
    <td id="tdimage"> Something here</td>
    
    Code (markup):
    hope this helps :)


     
    gameOn, Jul 1, 2009 IP
  7. AdnanAhsan

    AdnanAhsan Well-Known Member

    Messages:
    601
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    <td valign="top" style="width:636px; height:84px; float:left; padding:0; margin:0; background:url(image/bottom-bg-2.jpg) no-repeat;">

    it should work, but make sure you have a right image path in background:url()
     
    AdnanAhsan, Jul 4, 2009 IP