Solved

HTML and Table Background

Posted on 1998-07-29
6
189 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now