Log in

View Full Version : Table row and cell background images together in IE6/7?



jlizarraga
10-01-2008, 07:19 PM
Hi all,

After some troubles with a table and a Google search, it seems that IE applies row background images to each cell, so when you try to apply a separate background image for the cells, the row's faux-background is overwritten. Firefox gets it right.

I have gotten around this by putting divs within the cells and instead applying the background image to the divs, but this is a pretty messy solution.

Does anyone know of a fix for this? I couldn't find any. This happens on both IE6 and IE7.

Medyman
10-01-2008, 07:24 PM
Have you seen this (http://snook.ca/archives/html_and_css/tiling-background-ie/)?

jlizarraga
10-01-2008, 08:12 PM
Thanks for the link, but his problem is only half of mine. Their solution is to set the cells to have a background of none, but I need the rows and the cells to both have background image simultaneously.