SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2006
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem... make table border by image ...

    hi, i would like to create a table where the sides of the table will be wrap by image to form the border.
    i tried on the code below but the image of the vertical sides do not stretch according the height of the table...

    actually what is the correct way to make it works?


    HTML Code:
    <table border="0">
    <tr><td><img src="topleft.gif"></td>
    <td><img src="horizontal.gif" width="100%" height="25"></td>
    <td><img src="cornerright.gif"></td></tr>
    
    <tr><td><img src="vertical.gif" width="25" height="100%"></td>
    <td>content</td>
    <td><img src="vertical.gif" width="25" height="100%"></td></tr>
    
    <tr><td><img src="bottomleft.gif"></td>
    <td><img src="horizontal.gif" width="100%" height="25"></td>
    <td><img src="bottomright.gif"></td></tr>
    </table>

  2. #2
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This example and downloadable background image may help:

    Nadia


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
  •