Stretch a <TABLE> background image to fill the entire cell

Discussion in 'Javascript' started by Water Cooler v2, Jul 12, 2006.

  1. I want to stretch the image so that it fills the entire cell width and
    height. How do I do that?

    <TD background="bg.gif" width="100%" height="100%"
    style="background-repeat: no-repeat;">

    So far I have done that but it doesn't seem to work. I think the height
    and width get applied to the cell instead of the image. Is there a way
    around this?
    Water Cooler v2, Jul 12, 2006
    1. Advertisements

  2. You've multiposted this allover the place. Please don't. I answered you in
    David Dorward, Jul 12, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.