Question about setting an image as table's background.

Discussion in 'HTML & Website Design' started by x0x, Oct 1, 2009.

  1. #1
    Lets say I have an image that's is 200x200 that's 100x100. How do I make it so, that the whole image will be seen, not just a 100x100 piece of it, the whole image should just be reduced in size and squeezes as the background. Normally it doesn't do that...
     
    Last edited: Oct 1, 2009
    x0x, Oct 1, 2009 IP
  2. myst_dg

    myst_dg Active Member

    Messages:
    224
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Resize you image.
     
    myst_dg, Oct 1, 2009 IP
  3. x0x

    x0x Well-Known Member

    Messages:
    510
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #3
    I don't want to. I want to use the same image for different tables. Is it possible?
     
    x0x, Oct 2, 2009 IP
  4. frantech

    frantech Greenhorn

    Messages:
    96
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    20
    #4
    Hey there,

    you should really resize it with an image program otherwise it's going to really lose its quality/readability if it has text.

    If you REALLY want todo that you could probably...

    - create a div container
    - place an <img> tag in there with the forced size
    - create a nested <div with an absolute position placing the table over top of it.

    That's a very sloppy way of doing it, though.

    Thanks,

    Francisco
     
    frantech, Oct 2, 2009 IP
  5. x0x

    x0x Well-Known Member

    Messages:
    510
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #5
    It is just a image of a box with a circle like border. It looks the same after I stretch it 100 times. I have many tables that I want to use that background for, I would save my users from loading if I was able to do it the way I want.
     
    x0x, Oct 2, 2009 IP
  6. myst_dg

    myst_dg Active Member

    Messages:
    224
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #6
    myst_dg, Oct 2, 2009 IP