Solved

TABLE background pics in NETSCRAPE !!!

Posted on 2001-07-27
4
239 Views
Last Modified: 2010-04-09
Hi i

Have a table with backhground pic but when i add td tags with data in them in NETSCAPE the pic loops is there any way i can get around this ??

Code Below

SILKI

<table background = ./pics/back1.jpg>
<tr>
<td><select name = testy>
<option value = "1">1</option>
</select>
</td>
</tr>
</table>
0
Comment
Question by:silki
4 Comments
 
LVL 2

Accepted Solution

by:
AvocadoIsle earned 50 total points
ID: 6327255
0
 
LVL 3

Expert Comment

by:hagur
ID: 6329034
set an empty background for the tr's or the td's in the table, something like this:

<table background = ./pics/back1.jpg>
<tr background="">
<td background=""><select name = testy>
<option value = "1">1</option>
</select>
</td>
</tr>
</table>


This does work atleast when you have nested tables and the outer table has a background but the inner table hasn't.
0
 
LVL 10

Expert Comment

by:dij8
ID: 6329612
And exactly what I wrote in the question as linked above by AvocadoIsle.

This is a common issue.  What Netscape does is put the background image in every cell.  The way to get
round this is to nest your table inside another table.  And it is important to set your background to
"" in the nested table.  So the background image is ONLY in the top level table.

<table border="0" cellpadding="0" cellspacing="0" background="bkgd.gif">
 <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" background="">
     <tr>
       <td>Your table stuff.</td>
       <td>Your table stuff.</td>
     </tr>
     <tr>
       <td>Your table stuff.</td>
       <td>Your table stuff.</td>
     </tr>
   </table></td>
 </tr>
</table>

The link above shows there is more than one way though.
0
 

Author Comment

by:silki
ID: 6335365
give me a chance to try it and i will get back to you
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
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 position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

760 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

20 Experts available now in Live!

Get 1:1 Help Now