Solved

css for table background

Posted on 2008-10-14
7
223 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 50 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
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.

 
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: 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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
compact pure CSS Read More Toggle 4 154
CSS: Making responsive table look nicer 7 31
CSS SASS 4 34
Insert Button on a table 16 38
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

829 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