Solved

Can't display background image

Posted on 2013-06-29
3
315 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
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
To GaryC123.

I agree that it is messy & detracts.

The customer wants it.

Richard
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

763 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

15 Experts available now in Live!

Get 1:1 Help Now