Solved

TABLE background pics in NETSCRAPE !!!

Posted on 2001-07-27
4
253 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Are there any non javascript based chart/graph solutions? 14 31
Delete HTML table rows 12 28
Else condition 9 17
Call a function within the ASP code 4 10
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.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

776 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