Solved

Can't display background image

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
Obsolete font tag need to convert to CSS 3 55
Link not working 6 54
ASP get fieds value 2 40
Telerik RadEditor Control Save 8 39
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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 style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

759 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