Solved

Background image disappearing

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
spacing 5 31
Ajax control editor 4 36
Animate a Title 7 37
Jump to a specific point on a responsive page 5 13
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now