Solved

No tiling of image within Table

Posted on 2002-05-15
6
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: 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!

 

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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

628 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