[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

HTML and Table Background

Posted on 1998-07-29
6
Medium Priority
?
231 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
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Suggested Courses

872 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