0

If you're going to use a .gif or .jpg as a background in a <td> cell is there a way to keep it from repeating? I've not much fortune with it at this point.
Thanks,
BuddyB

3
Contributors
4
Replies
5
Views
12 Years
Discussion Span
Last Post by DaveSW
0

the full code for that is:
<td style="background: #ffffff url(graphics.png) left no-repeat;"></td>
If you visit the property table on the w3 website they have a list: http://www.w3.org/TR/CSS21/propidx.html click the individual items on the second column of the background property for samples and a full explanation.

You can omit whatever you want from those values (e.g. the color).

0

the full code for that is:
<td style="background: #ffffff url(graphics.png) left no-repeat;"></td>
If you visit the property table on the w3 website they have a list: http://www.w3.org/TR/CSS21/propidx.html click the individual items on the second column of the background property for samples and a full explanation.

You can omit whatever you want from those values (e.g. the color).

That works beautifully! Thanks! I'm placing some nav buttons on top of that background image, and because I've used a drop shadow on it they're off center (but not really..just look it). Within the framework of that data cell is there some way to to position the x factor more precisely so that it looks centered in the main part of the background image?
BuddyB

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.