Solved

Can't display background image

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

932 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

10 Experts available now in Live!

Get 1:1 Help Now