Solved

No tiling of image within Table

Posted on 2002-05-15
6
148 Views
Last Modified: 2010-04-09
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
Comment
Question by:capital052798
6 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 50 total points
ID: 7011679
Try:

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

Cd&
0
 
LVL 30

Expert Comment

by:third
ID: 7012745
or css shorthand

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

</table>

(though not sure if it will work x-browser)
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7012982
visit http://blooberry.com to do more with the background-image
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Comment

by:capital052798
ID: 7013202
thanks - the code worked fine.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7013377
Glad we could help. Thanks for the A. :^)

Cd&
0
 

Author Comment

by:capital052798
ID: 7013677
thanks - the code worked fine.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Increase the size of the modal in Bootstrap 5 43
Call a function within the ASP code 4 19
innerHTML 7 35
send email part1 9 28
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question