?
Solved

Background image disappearing

Posted on 2003-12-03
3
Medium Priority
?
271 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 1000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
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?
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…
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…

765 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