Solved

Background image disappearing

Posted on 2003-12-03
3
269 Views
Last Modified: 2010-04-09
Hello,
    I have a background image that is supposed to tile all the way down but stops at one point for some reason.  Any ideas?

Code:

<table border="0" cellpadding="0" cellspacing="0" align="left" width="750" background="bkgd.png">
<tr>
 <table border="0" cellpadding="0" cellspacing="0" width="750" background="bkgd.png">
  <tr>
    <td valign="top">      
        <a href="index.html" ><img border="0" name="Home" src="home.png" width="143" height="30" alt="Home"></a><br>
         <a href="Equine.html" ><img border="0" name="nav_equine" src="equine.png" width="143" height="30" alt="Equine"></a><br>    
          <a href="smallAnimal.html"><img name="nav_smallAnimal" src="smallAnimal.png" width="143" height="30" border="0" alt="Small Animal"></a><br>      
         <a href="TransGel.html"><img name="nav_transGel" src="TransGel.png" width="143" height="30" border="0" alt="Transdermal Gels"></a><br>      
         <a href="Ophthalmology.html"><img name="nav_ophth" src="Ophth.png" width="143" height="30" border="0" alt="Ophthalmology"></a><br>
          <a href="equineList.asp"><img src="equineList.png" alt="Equine Drug List" name="nav_equine" width="144" height="30" border="0"></a><br>      
          <a href="smallAnimalList.asp"><img name="nav_smAnimal"src="smAnimalList.png" width="144" height="30" alt="Small Animal Drug List" border="0"></a><br>      
          <a href="QA.html"><img name="nav_qa" src="QA.png" width="144" height="30" alt="Quality Assurance" border="0"></a><br>      
          <a href="contactUs.html"><img name="nav_contact" src="contactUs.png" width="143"    height="30" alt="Contact Us" border="0"></a>
    </td>
    <td><img src="Equine/equineRaceImage.gif" width="600" height="440" border="0" align="top"></td>
   </tr>
 </table>
</tr>
<tr >
  <td width="750"><img src="Equine/equineChart.gif" alt="" name="" height="700"></td>
</tr>
0
Comment
Question by:JGoyer
[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
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Bustarooms earned 250 total points
ID: 9866801
i don't know if this is causing the problem, but your inner table is not within a cell

you have

<table border="0" cellpadding="0" cellspacing="0" align="left" width="750" background="bkgd.png">
<tr>
<table border="0" cellpadding="0" cellspacing="0" width="750" background="bkgd.png">
 <tr>
   <td valign="top">      
           .... code....
      </td>
   <td><img src="Equine/equineRaceImage.gif" width="600" height="440" border="0" align="top"></td>
  </tr>
</table>
</tr>


but it should be

<table border="0" cellpadding="0" cellspacing="0" align="left" width="750" background="bkgd.png">
<tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="750" background="bkgd.png">
 <tr>
   <td valign="top">      
           .... code....
      </td>
   <td><img src="Equine/equineRaceImage.gif" width="600" height="440" border="0" align="top"></td>
  </tr>
</table>
</td></tr>

0
 
LVL 4

Expert Comment

by:dovcamp
ID: 9867036
You have the background tag inside a table tag so it only tiles within that table.  You will want to put it inside the Body tag above the table tag such as:


<body background="bkgd.png">
<table border="0" cellpadding="0" cellspacing="0" align="left" width="750" background="bkgd.png">
<tr>...
0
 
LVL 4

Expert Comment

by:dovcamp
ID: 9867118
I forgot to mention you can take the background tag out of the Table tag.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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 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…

730 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