Solved

HTML and Table Background

Posted on 1998-07-29
6
216 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
0
Comment
Question by:jrange
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1844947
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
0
 

Author Comment

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

Jocelyn
0
 
LVL 4

Expert Comment

by:martinag
ID: 1844949
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:martinag
ID: 1844950
Did none of the suggestions work?
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 50 total points
ID: 1844951
That is a limitation in Netscape.  It will always repeat the GIF.  You could cut your graphic into pieces and declare eachpiece in the separate cells... Otherwise, it will always repeat...
Or, try this:

<TABLE BACKGROUND="gif.gif">
   <TABLE>
      Your table here... Maybe this would work...
   </TABLE>
<TABLE>
0
 

Author Comment

by:jrange
ID: 1844952
Both sugestions didn't work.

Thanks anyway.

Jocelyn
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question