Thread: bg image?
View Single Post
  #8  
Old 08-10-2007, 11:57 AM
Capers is offline Capers
Registered User

Join Date: Oct 2003
Posts: 158

Re: bg image?

Quote:
Originally posted by Cardiac
i want a bg image in a cell of my table. but i dont want it to repeat. i want it vertically aligned at the top/center.

here is what i have:

Code:
<td colspan="11" align="left" valign="top" background="images/home_17.jpg" style="body {background-repeat: no-repeat;background-image: "images/home_17.jpg";}">
did i do the style part wrong?
Yup, you've used an inline style yet you've tried to set the css properties of the body tag.

Change it to:


Code:
<td colspan="11" align="left" valign="top"  style="background-repeat: no-repeat; background-image: 'images/home_17.jpg';">
__________________
Reply With Quote