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
Solved

TABLE background pics in NETSCRAPE !!!

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 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…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

829 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