SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2001
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image Table boarders

    I'd just like to know if anyone knows how to use images as a table boarder.. thanks in advanced.
    signature

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is no image element of <table border>, and as such the border element is deprecated.

    The way you could do it, is by creating your own border around the table, for example

    Code:
    <TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="600">
    
    <!-- top level -->
    <TR COLSPAN="3"><TD BACKGROUND="bgimage.gif" WIDTH="600">&#38nbsp;</TD></TR>
    
    <!--left and right borders -->
    
    <TR><TD BACKGROUND="bgimage.gif" WIDTH="100">&#38nbsp;</TD><TD WIDTH="400">Main body text</TD><TD BACKGROUND="bgimage.gif" WIDTH="100">&#38nbsp;</TD></TR>
    
    <!-- bottom -- >
    
    <TR COLSPAN="3"><TD BACKGROUND="bgimage.gif" WIDTH="600">&#38nbsp;</TD></TR>
    
    </TABLE>
    But that is really messy and you might get problems with there being lines between your td cells. If you were to do this I would also nest another table in the main body text otherwise it will become really really confusing!
    Last edited by weirdbeardmt; Aug 29, 2001 at 06:53.
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


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
  •