Start a Chat Sales: 0800 862 0890 Client Area
Results 1 to 4 of 4

Thread: How do i insert background images?

  1. #1
    russell37uk is offline Senior Member
    Join Date
    May 2010
    Posts
    124

    Default How do i insert background images?

    Hello everyone,

    Im asking for help on something i've done before (ages ago) but have forgotton how to do it.

    I have created a table, where each 'box/cell' will link to a different category on my site, but i can't remember how to insert background images into each table cell (a different image in each cell).

    So you can give me an example of what codes to use (an so i can see how you done it.

    Assume the following
    I'd want to link to eg <a href="http: //mysite. com/categoryA.html">My Category A</a>
    The image link would be something like http:// myothersite.com/ image1.jpg

    My current table code is like
    <td>&nbsp;</td>
    <td>SHOW ME HOW I'D PUT THE CODE HERE PLEASE</td>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td><br /></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    </tr>


    etc....
    Many Thanks
    Russell

  2. #2
    Royston is offline Sales Team
    Join Date
    Sep 2010
    Posts
    49

    Default

    You can try the following:

    1) If its Cell - <TD BACKGROUND="http://www.webhosting.uk.com/forums/images/image.jpg" WIDTH="80" HEIGHT="95">
    2) If its a Table - <TABLE BACKGROUND = "imagebackground1234.jpg">

  3. #3
    russell37uk is offline Senior Member
    Join Date
    May 2010
    Posts
    124

    Default

    Thank you Royston,

    1) If its Cell - <TD BACKGROUND="http://www.webhosting.uk.com/forums/images/image.jpg" WIDTH="80" HEIGHT="95">
    How do i stop the image from 'repeating' itself to fill up the space? eg I want the image shown once only.

    Thanks

  4. #4
    devnty06 is offline new member
    Join Date
    Feb 2012
    Posts
    1

    Default

    <TABLE WIDTH="100%" HEIGHT=300 BORDER=1>
    <TR>
    <TD BACKGROUND="Your image URL here" ALIGN=CENTER>
    more text or image here
    </TD>
    <TD BACKGROUND="Your image URL here" ALIGN=CENTER>
    more text or image here
    </TD>
    <TD BACKGROUND="Your image URL here" ALIGN=CENTER>
    more text or image here
    </TD>
    </TR>
    </TABLE>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright 2001-2013 Web Hosting UK. All rights reserved.