• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • 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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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