View Single Post
Old 02-25-2009, 08:35 PM   #1
sweetums
Senior Member
 
sweetums's Avatar
 
Join Date: Jun 2008
Location: Bristol (UK)
Posts: 142
Thanks: 15
Thanked 15 Times in 12 Posts
Send a message via MSN to sweetums Send a message via Skype™ to sweetums
Default Background image in a table not appearing in browsers

I'm making a web page that is table based and I am having trouble with a background image in the table.
I've tried adding the background to a table using CSS.
I've given the table an ID, and created a style rule to apply the appropriate CSS background properties.


Here is the bit of code that I'm using:

#mytable_id {
background-image: url(/assets/images/my_background.png);
background-repeat: no-repeat;
}



This makes the image appear in the Dreamweaver screen but when I click to Preview it in a browser
window it is not visible. I've tried it in Safari and Firefox and both have the same results.

Any ideas where I'm going wrong?
__________________
Twitter: liamjay66

Website: liamjaydesigns.com
sweetums is offline   Reply With Quote