Solved

HTML and Table Background

Posted on 1998-07-29
6
194 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

816 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

8 Experts available now in Live!

Get 1:1 Help Now