Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

css for table background

Posted on 2008-10-14
7
Medium Priority
?
233 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
6 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
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!

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

577 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