css background image in cell not working

They have: 461 posts

Joined: Jul 2003

i'm trying to use an image as a background to a cell, yet the css isn't giving the image for some reason. i haven't been using it long enoug to know why the background image is not working in the cell. instead of merely giving me a working version, i would like an explanation as to why this code and a variation tried using relative paths failed so i can learn from this.

td.rndmem{ /* random member cell--background not yet showing up */
  text-align:right; 
  margin-left:auto;
  margin-right:auto;
  background-image:<a href="http://24.91.157.113/findyourdesire/sitepics/rndmemspbg.png;" class="bb-url">http://24.91.157.113/findyourdesire/sitepics/rndmemspbg.png;</a>
}
'

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Have you considered validating your code?

background-image: url('yoururl');
'

They have: 461 posts

Joined: Jul 2003

lol. didn't revalidate that. i normally do. probalby would have found it then
working now.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.