View Full Version : untile a background in a table cell?
08-04-2009, 12:19 PM
I have a background image in a cell in a table. I don't want it tiled. How do I keep it from doing this?
08-04-2009, 11:52 PM
no-repeat? What's your code?
08-07-2009, 02:39 PM
Here's is the code:
<td background="../../flowers1.jpg" colspan="4">
08-07-2009, 03:31 PM
Add this to your CSS code:
08-09-2009, 05:51 PM
ok, this is what I have now:
<td background="../../flowers1.jpg" background-repeat: no-repeat>
and this is what it's showing on the site:
I don't want the white strip in the flowers. Do I need a bigger picture maybe?
08-10-2009, 11:38 AM
Use this instead:
<td background="../../flowers1.jpg" style="background-repeat: no-repeat;">
I'd also like to suggest that you search for some tutorials about CSS in order to stop using inline styling and deprecated markup.
08-10-2009, 11:19 PM
Thanks. I think I'll take your advice.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.