Solved

Can't display background image

Posted on 2013-06-29
3
320 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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

829 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