Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

No tiling of image within Table

I would like to place an image as a background to a table without tiling.
I alraedy have some code that does this for BODY - but how can I do this for a table?

Does "background" also work at table/cell level if so it would be good to know how to stop tiling at cell level too.
0
capital052798
Asked:
capital052798
1 Solution
 
COBOLdinosaurCommented:
Try:

<table style="background-image:url(yourimage.jpg);background-repeat:no-repeat">

Cd&
0
 
thirdCommented:
or css shorthand

<table style="background: url(bg.jpg) #FFFFFF no-repeat">

</table>

(though not sure if it will work x-browser)
0
 
lexxwernCommented:
visit http://blooberry.com to do more with the background-image
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
capital052798Author Commented:
thanks - the code worked fine.
0
 
COBOLdinosaurCommented:
Glad we could help. Thanks for the A. :^)

Cd&
0
 
capital052798Author Commented:
thanks - the code worked fine.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now