Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Table Backgrounds in DW

Table Background images

3:45 pm on Mar 4, 2008 (gmt 0)

New User

5+ Year Member

joined:Feb 19, 2008
posts: 7
votes: 0

I've got this table with several rows and columns. I'd like to span an image over 2/3 of the page (6 of the 9 cells). I've run into several problems.
1) I can't get my background image to span the cells. It puts an image in each cell.

2) When I view it in the browser the background image doesn't display at all.

3) I also need to change the opacity and I can't figure out how to do that. I tried adding it to the code but it didn't take.

Any help would be great.

11:03 am on Mar 11, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 4, 2002
votes: 0

Hi RigelBlueStar

The only way to do what you ask using tables would be to place the background image in the <table> tag itself - pretty sure that would work - then you can place other background properties in the <td>. Not a very elegant solution if it's just for layout.

CSS might be a better route - you could use containers to position your images with the background property.

As for opacity - if you want the one image to show underneath another then you need to use PNG's with alpha transparencies and then apply the IE PNG filter.

If you only aim to drop the image back, you can easily change the opacity in an image editor and export as GIF or JPG to suit.

10:28 pm on Mar 11, 2008 (gmt 0)

New User

5+ Year Member

joined:Feb 19, 2008
posts: 7
votes: 0

Thanks for the tips.. I was misinformed when I was told that "tables are the way to go". If I didn't have so much time invested in this site, I would scrap it and learn more about CSS design.

How difficult is it to create containers as you mentioned?


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members