We help IT Professionals succeed at work.

HTML and Table Background

jrange
jrange asked
on
241 Views
Last Modified: 2010-04-09
Is there any way to insert a background in a table. I´ve done it with IE and it works fine but on Netscape it repeats the background in each cell
Comment
Watch Question

Commented:
I think it's a bug an here's how to fix it:
<TR>
<TD BGCOLOR="same color as in BODY">Here's the same background as in the rest of the document</TD>
<TD BGCOLOR="another color">Here's another color!</TD>
</TR>

Martin

Author

Commented:
I forgot to mention, that I want the table to have a background image. Is it the same procedure?

Jocelyn

Commented:
I don't know.
Try setting the background image in the cell where you want the image and set a background color in the other cells.

If this doesn't work you could create a small gif with the same color as the document. Then you use it as background image in the other cells.

Martin

Commented:
Did none of the suggestions work?
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Both sugestions didn't work.

Thanks anyway.

Jocelyn
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.