Need Help with background images



 DEVELOP > Dreamweaver > Need Help with background images

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > Dreamweaver
User: "The Hermit of Hyland"
Date: 27 Dec 2004 08:34:02 AM
Object: Need Help with background images
Folks:
HELP!!!! I'm somewhat new to DW, and the answer may be obvious to most of
you.... but.... I can't get the background image to show on my site!!!
The background shows fine during design when I preview it using IE6, Mozilla
Firefox 1.0, and Netscape Navigator 4.73 - but when it goes live to GoDaddy's
servers, everything about the site is fine EXCEPT the background doesn't show
using any of the above browsers!
I'm using Dreamweaver MX 2004.
Here's the code that leads up to the background command (with title,
description, and keywords edited out):
================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>XXXXXXXXXXXXXXXXXXX...</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style13 {
font-size: 14px;
font-weight: bold;
}
a:link {
color: #336600;
}
a:visited {
color: #999999;
}
a:hover {
color: #993300;
}
a:active {
color: #660000;
}
.style15 {color: #660000}
.style29 {
font-size: 10px;
color: #660000;
}
-->
</style>
<meta name="description" content="XXXXXXXXXXXXXXXXXXX....>
<meta name="keywords" content="XXXXXXXXXXXXXXXXXXXX....>
</head>
<body background="images/Tree%20bark%20(bkgnd).jpg">
<div align="center">
<table width="522" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
etc..... etc........ect...............
===================
All images for the site (including the background image) are in the "/images"
folder. All images EXCEPT for the background show fine.... so I don't feel it's
a path problem. The name of the background file is "Tree bark (bkgnd).jpg" (of
course DW adds the "%20" to indicate a space).
Background images can be .jpg can't they? They don't need to be .gif?
I'm a bit new to CSS, but a background command should work just fine in
regular html - right? It doesn't have to be in CSS - does it?
Any help would be greatly appreciated. I really would like to figure this one
out! Thanks!!!!
Russ
.

User: "Murray *TMM*"

Title: Re: Need Help with background images 27 Dec 2004 08:34:43 AM
<body background="images/Tree%20bark%20(bkgnd).jpg">
You might as well put a big 'Kick Me" sign on your backside as use
file/pathames like this.
Get rid of the spaces, the mixed case, and the parentheses, and try just
letters and numbers (no leading digits, however), and only use dashes and
underscores and see what happens.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"The Hermit of Hyland" <webforumsuser@macromedia.com> wrote in message
news:cqp6gq$ib3$1@forums.macromedia.com...

Folks:

HELP!!!! I'm somewhat new to DW, and the answer may be obvious to most of
you.... but.... I can't get the background image to show on my site!!!

The background shows fine during design when I preview it using IE6,
Mozilla
Firefox 1.0, and Netscape Navigator 4.73 - but when it goes live to
GoDaddy's
servers, everything about the site is fine EXCEPT the background doesn't
show
using any of the above browsers!

I'm using Dreamweaver MX 2004.

Here's the code that leads up to the background command (with title,
description, and keywords edited out):

================

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>XXXXXXXXXXXXXXXXXXX...</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style13 {
font-size: 14px;
font-weight: bold;
}
a:link {
color: #336600;
}
a:visited {
color: #999999;
}
a:hover {
color: #993300;
}
a:active {
color: #660000;
}
.style15 {color: #660000}
.style29 {
font-size: 10px;
color: #660000;
}
-->
</style>
<meta name="description" content="XXXXXXXXXXXXXXXXXXX....>
<meta name="keywords" content="XXXXXXXXXXXXXXXXXXXX....>
</head>

<body background="images/Tree%20bark%20(bkgnd).jpg">
<div align="center">
<table width="522" border="0" align="center" cellpadding="0"
cellspacing="0">
<!--DWLayoutTable-->
etc..... etc........ect...............

===================

All images for the site (including the background image) are in the
"/images"
folder. All images EXCEPT for the background show fine.... so I don't feel
it's
a path problem. The name of the background file is "Tree bark (bkgnd).jpg"
(of
course DW adds the "%20" to indicate a space).

Background images can be .jpg can't they? They don't need to be .gif?

I'm a bit new to CSS, but a background command should work just fine in
regular html - right? It doesn't have to be in CSS - does it?

Any help would be greatly appreciated. I really would like to figure this
one
out! Thanks!!!!

Russ


.

User: "Alan"

Title: Re: Need Help with background images 27 Dec 2004 08:36:53 AM

images/Tree%20bark%20(bkgnd).jpg

first suggestion, rename that file so it doesn't have blank spaces or other
non-alphanumeric characters in it's name.
rename in the local side of the f8 site manager.
try something like mybackground.jpg or tree_back_bkgnd.jpg
Then, upload THAT image file and the changed html files.
if that isn't it, please give the url address to the actual webpage.
.

User: "sdoerbecker"

Title: Re: Need Help with background images 26 Jan 2005 01:20:10 PM
So, I don't have an answer, but I have the SAME problem! I'm using a background
image in a number of linked pages. All but my index page show the image. What's
the deal?!?! I have no non-alphanumeric symbols in the file name and it's
really annoying me! So, I feel your pain and am looking for an answer too!
.
User: "Gary White"

Title: Re: Need Help with background images 26 Jan 2005 01:52:56 PM
sdoerbecker wrote:

So, I don't have an answer, but I have the SAME problem! I'm using a background
image in a number of linked pages. All but my index page show the image. What's
the deal?!?! I have no non-alphanumeric symbols in the file name and it's
really annoying me! So, I feel your pain and am looking for an answer too!

If you *really* want an answer, post a link to the site.
Gary
.
User: "sdoerbecker"

Title: Re: Need Help with background images 26 Jan 2005 02:15:36 PM
It's not really a site yet- it's just a pseudo-website that will be burned onto a cd for a proposal to a company- does that make sense?
.
User: "Murray *TMM*"

Title: Re: Need Help with background images 26 Jan 2005 03:17:46 PM
No. Then post your code. There's no magic in it. The answer is always
there.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"sdoerbecker" <webforumsuser@macromedia.com> wrote in message
news:ct8tp8$j9g$1@forums.macromedia.com...

It's not really a site yet- it's just a pseudo-website that will be burned
onto a cd for a proposal to a company- does that make sense?

.
User: "sdoerbecker"

Title: Re: Need Help with background images 26 Jan 2005 03:39:58 PM
The background file is "headerbackground.png"- Any ideas? Oh, and thanks:)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000000" link="#003300" vlink="#000099" alink="#999999">
<table width="814" border="0" cellpadding="0" cellspacing="0"
backgroundcolor="#FFFFFF">
<tr background="../images/pngs/headerbackground.png">
<td height="211" colspan="4"><div align="right"><strong><font size="7"
face="Times New Roman, Times, serif"><br>
Edinboro University <br>
</font><font size="5" face="Arial, Helvetica, sans-serif"><strong> Dining
Services&nbsp;</strong></font></strong>
</div>
<div align="right"><font color="#003300" face="Arial, Helvetica,
sans-serif"><strong><br>
</strong></font></div></td>
</tr>
.
User: "Murray *TMM*"

Title: Re: Need Help with background images 26 Jan 2005 03:56:45 PM
You probably don't want to use a png file on the web UNLESS you have
exported it explicitly as a 8 bit file.
Anyhow, change this -
<tr background="../images/pngs/headerbackground.png">
<td height="211" colspan="4"><
to this -
<tr>
<td background="../images/pngs/headerbackground.png" height="211"
colspan="4"><
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"sdoerbecker" <webforumsuser@macromedia.com> wrote in message
news:ct92ne$ofb$1@forums.macromedia.com...

The background file is "headerbackground.png"- Any ideas? Oh, and thanks:)


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000000" link="#003300" vlink="#000099" alink="#999999">
<table width="814" border="0" cellpadding="0" cellspacing="0"
backgroundcolor="#FFFFFF">
<tr background="../images/pngs/headerbackground.png">
<td height="211" colspan="4"><div align="right"><strong><font size="7"
face="Times New Roman, Times, serif"><br>
Edinboro University <br>
</font><font size="5" face="Arial, Helvetica, sans-serif"><strong> Dining
Services&nbsp;</strong></font></strong>
</div>
<div align="right"><font color="#003300" face="Arial, Helvetica,
sans-serif"><strong><br>
</strong></font></div></td>
</tr>

.







  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.4672     pg.3585     pg.2749     pg.2106     pg.1612     pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER