Solved

TABLE background pics in NETSCRAPE !!!

Posted on 2001-07-27
4
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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!

Question has a verified solution.

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

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

726 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