Click to See Complete Forum and Search --> : background image
shawnlp1
04-21-2007, 12:09 AM
I'm using dreamweaver 2004 for the first time in months and I'm having a problem using dreamweaver to insert a background image. My background image is a png file that I created and when I loaded it into my web page in dreamweaver it comes up on my web browser, but does not appear in dreamweaver when I'm trying to edit the page. The html code is present as well and I cannot figure out why I cannot see the background image in dreamweaver.
Someone please help.
ryanbutler
04-21-2007, 11:07 AM
Post some code or a page address.
shawnlp1
04-21-2007, 11:12 AM
I'm in the beginning stages of producing this page. Currently it only has this background image included.
<!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>J's HomePage</title>
<style type="text/css">
<!--
body {
background-image: url(mcfaddenshomepagebckgrd.png);
}
-->
</style></head>
<body>
</body>
</html>
ryanbutler
04-21-2007, 11:35 AM
Is the image on your computer? Do you have the path right? Does the image exist on your server?
shawnlp1
04-21-2007, 02:44 PM
Yes the image exist on my server and it appears in my browser when I preview it in browser mode. It just does not appear in my design view in dreamweaver which makes it hard to design and edit the page if I cannot see the background image.
ryanbutler
04-23-2007, 05:22 PM
Odd...do you have a site defined in Dreamweaver? I can't think of why you couldn't see the image in design view.
shawnlp1
04-23-2007, 05:44 PM
yes
ryanbutler
04-24-2007, 09:06 AM
You can use this as an example, worked fine for me:
http://midwestwebdesign.net/test.php
Beyond this, I have no idea what's causing the problem.
rhino
04-26-2007, 06:16 AM
need a background image for a p[roject in dreamweaver
shawnlp1
04-27-2007, 05:10 PM
I recently fixed the previous problem that I had not been able to see by background in design view. Now I'm having the problem of getting the background image to fit to screen. It only partially covers about 60% of the page. I'm now using frontpage and I also have a widesceen that may be affecting the appearance (1440x900 pixels). How might I be able to fix this.
Centauri
04-27-2007, 07:57 PM
Background images don't stretch - you can position them (centrally for instance) or repeat them in either plane, but not stretch them. Stu Nichols came up with a method of "cheating" to stretch a background, but any image resizing done in-browser causes image quality loss.
I'm now using frontpage
That is a large backwards step.......
Cheers
Graeme