Solved

Can't display background image

Posted on 2013-06-29
3
323 Views
Last Modified: 2013-06-29
Please look at http://sprinklerfix.com/. Note there is a background image under the main body area. This is accomplished by this:

<table width="100%"  border="0" cellpadding="0" cellspacing="0" background="images/cad-background.gif">

I am aware that using this old techniques is a no-no; css should be used. But it works.

Now look at http://www.sprinklerrepairkaty.com/

Note there is no background image. View Source. Notice this:

<table width="100%"  border="0" cellpadding="0" cellspacing="0" background="http://www.sprinklerfix.com/images/cad-background.gif">

Why doesn't this work?

Thanks
0
Comment
Question by:Richard Korts
[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
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39287035
The first site you are using one table for the whole page
The second site you are using one table for the header (with the background image) and then more tables for all the other content ergo the background image on the header table will not show anywhere else.
And you would never see it in the header table either as you have a background color set.
But aesthetically speaking that background image makes the page noisy - i.e. not very nice - a plain white background is better
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39287040
The 'katy' site is broken up into three tables and only the first has that background image (which is covered by the blue).  The 'fix' site has the table with the background image containing all the rest so it shows thru.

Also, that mass of keywords is pretty useless and may actually cause problems since it is so overdone.  Google says that they ignore keywords that are not contained in the content of the page.
0
 

Author Comment

by:Richard Korts
ID: 39287122
To GaryC123.

I agree that it is messy & detracts.

The customer wants it.

Richard
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

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…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

623 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