css background image in cell not workin

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

css background image in cell not workin

Post 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; 
}
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Code: Select all

background-image:url(http://....);
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

thnx. haven't used links in css before.
Post Reply