I assume you mean that the image is smaller than the td/table/div/span and instead of having a tiled background image, you want a stretched background image?
Main Topics
Browse All TopicsIs there any way to have a background image for a TD, TABLE, DIV or SPAN stretch to fill the current size of the object rather than tile?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Correct. It is a simple case of a table for a graphical button using text instead of graphics. The buton is a table with one row and three columns. The left and right cell have images with width=100% height=100% so they can stretch. The middle cell has to be a background image because there is the button text in the cell. The image tiles which is not very nice if you are going for 3D gradient effect.
Business Accounts
Answer for Membership
by: dynamics407Posted on 2004-04-07 at 11:20:48ID: 10777150
usually all that has to be done is upload the image, taking note of the images dimension ( h x w ) then define the table cell to fit that.
ie. assume that the image is 300 x 250.
<TABLE width="100%" height="100%">
<TR>
<TD width="250" height="300" background="image">
Some text.
</TD>
</TR>
</TABLE>