Lithium Posted December 31, 2008 Share Posted December 31, 2008 I bumped into something new to me, and can't seem to get an answer anywhere, so here it goes... I have a background image inside a .css file on the body element... background-image: url(../images/background.jpg); background-repeat: repeat; now i need to set a table with a background image, let's say... background-image: url(../images/table.jpg); background-repeat: repeat; apparently... all good, but it doesn't show the table image. (also, placing image on td is not an option), also style tag inside the table element doesn't work as well... any suggestions to make this work? Thanks :) Quote Link to comment Share on other sites More sharing options...
POG1 Posted December 31, 2008 Share Posted December 31, 2008 Re: Table + CSS problem <table class="background> blah blah... </table> in the CSS.. table.background { background: url(URL HERE); } Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted January 1, 2009 Share Posted January 1, 2009 Re: Table + CSS problem table.bg { background-image: url(""); } td.bg { background-image: url(""); } Quote Link to comment Share on other sites More sharing options...
Lithium Posted January 2, 2009 Author Share Posted January 2, 2009 Re: Table + CSS problem @ POG1 and killah, As my post says, i had set css images to body and table, though simply it didn't showed up the table image for some reason, though thx for the tips @ Luke thanks for the div tip, as it worked. Though i still wonder why it did not worked with the css. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.