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

x
?
Solved

css for table background

Posted on 2008-10-14
7
Medium Priority
?
231 Views
Last Modified: 2011-12-28
How do you use style in table to define a non-repeating background
0
Comment
Question by:kathyedesign
  • 4
7 Comments
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22717747
<TABLE bgcolor="#FFFEFC">
or
<TABLE background="file.gif">
0
 
LVL 8

Accepted Solution

by:
Zado earned 200 total points
ID: 32911907
Try this:
<table style="background-image:url('test.jpg'); background-repeat:no-repeat">
</table>

Open in new window

0
 
LVL 8

Expert Comment

by:Zado
ID: 32911945
You can add also  background-position:top left;
or center center; bottom right; etc... or in percents (counts from top and left): 50% 50%; 10% 90% etc.
0
Industry Leaders: 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!

 
LVL 8

Expert Comment

by:Zado
ID: 34317492
Please grant the points and close the question, thanks :-)
0
 
LVL 8

Expert Comment

by:Zado
ID: 34384822
To be clear here: I'm not asking for grant the points to me, but generally.
If you have a problem with any suggestion from experts or nothing works with your expectation, please let us know, so we will continue work on solution for you, thanks.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 37343922
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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).
Suggested Courses

916 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