Results 1 to 10 of 10

Thread: Pictures Tiled on Tables

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Cheshire, England
    Posts
    116

    Pictures Tiled on Tables

    how can i add a picture to the background of my tables rather than a colour (ie #33cc66), also i have very basic html knowledge so a simple an explanation as possible pls

    thanks
    --- Counter-Terrorists Win ---

    http://manix.pax3k.co.uk
    www.manix-creations.net

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Like follows:

    Code:
      <table background="picture.gif">
      <!-- or -->
      <td background="picture.gif">
    It's that simple.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Cheshire, England
    Posts
    116
    , is that it, i'm kinda dissapointed i thought it would be harder, how do i set the height of the cell/row as well
    --- Counter-Terrorists Win ---

    http://manix.pax3k.co.uk
    www.manix-creations.net

  4. #4
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Depends on what browser your using. For IE, you'd have to have something in the cell, a space would do, then just do:

    Code:
    <td width="100" height="100">&nbsp;</td>
    My evil laugh has a squeak in it.

    kristopherwilson.com

  5. #5
    FYI, a td background, surprise surprise, doesn't work in NS4, only a table background does.

  6. #6
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by filburt1
    FYI, a td background, surprise surprise, doesn't work in NS4, only a table background does.
    I thought you said "screw NS4" in another thread...change your mind already?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  7. #7
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609

    Re: Pictures Tiled on Tables

    Originally posted by Paxthegreat
    how can i add a picture to the background of my tables rather than a colour (ie #33cc66), also i have very basic html knowledge so a simple an explanation as possible pls

    thanks
    ok, just take a look @ this:

    will display "image1.gif" behind all text in cell-1, and will tile itself when image is smaller than the cell
    Code:
    <table>
    <tr>
      <td background="image1.gif">
        Cell1
      </td>
      <td">
        Cell2
      </td>
    </tr>
    </table>
    This however will spread the image throughout the entire table, and also tiles itself ....
    Code:
    <table background="image1.gif">
    <tr>
      <td>
        Cell1
      </td>
      <td">
        Cell2
      </td>
    </tr>
    </table>
    hope this is of some help

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Cheshire, England
    Posts
    116
    unreal thanks, that worked gr8
    --- Counter-Terrorists Win ---

    http://manix.pax3k.co.uk
    www.manix-creations.net

  9. #9
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: Re: Pictures Tiled on Tables

    Originally posted by ubunreal69
    ok, just take a look @ this:

    will display "image1.gif" behind all text in cell-1, and will tile itself when image is smaller than the cell
    Code:
    <table>
    <tr>
      <td background="image1.gif">
        Cell1
      </td>
      <td">
        Cell2
      </td>
    </tr>
    </table>
    This however will spread the image throughout the entire table, and also tiles itself ....
    Code:
    <table background="image1.gif">
    <tr>
      <td>
        Cell1
      </td>
      <td">
        Cell2
      </td>
    </tr>
    </table>
    hope this is of some help
    Yeah...just like I said...
    My evil laugh has a squeak in it.

    kristopherwilson.com

  10. #10
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609

    Re: Re: Re: Pictures Tiled on Tables

    Originally posted by The Hobo


    Yeah...just like I said...
    yeh, but i went into a bit more detail "Paxthegreat" doesnt seem like he knows much HTML and if i can remember when i was like that i couldnt remember how to do tables correctly unless i was looking @ the code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width