Position of a table background image

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

with the background tag in the td definition it is possible to display
an image in the specific cell. At standard the image fills up the entire

I now want to display this image at the right bottom of the cell with an
height of 30px and a width of 30px. The rest of the cell should be
without an image.

Is (and how) this possible?

Thanks for all answers.

Re: Position of a table background image

Werner Reiter wrote:

Quoted text here. Click to load it

It isn't possible to define the size of a background image, so you must in a
graphic program make the image the wanted size. When that's dont, you insert
the background image like this:

<td style="background:url(bg.gif) bottom right no-repeat">Cell content

Erik Ginnerskov
http://hjemmesideskolen.dk - http://html-faq.dk

Site Timeline