Page 1 of 1

css background image in cell not workin

Posted: Fri Apr 16, 2004 9:58 pm
by m3rajk
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.

Code: Select all

td.rndmem{ /* random member cell--background not yet showing up */
  text-align:right;  
  margin-left:auto; 
  margin-right:auto; 
  background-image:http://24.91.157.113/findyourdesire/sitepics/rndmemspbg.png; 
}

Posted: Sat Apr 17, 2004 12:12 am
by feyd

Code: Select all

background-image:url(http://....);

Posted: Sat Apr 17, 2004 9:35 am
by m3rajk
thnx. haven't used links in css before.