Solved

Background image disappearing

Posted on 2003-12-03
3
270 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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 …

707 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