PDA

View Full Version : Where is my background-image?



somnamblst
March 14th, 2007, 04:06 PM
I develop using Macromedia Homesite. Much to my chagrin when I uploaded my files to a server, my background image has gone missing

<body bgcolor="#FFFFFF" style="background-image: url(file:pattern3.png); background-color: Purple;">

s1ntax
March 14th, 2007, 04:11 PM
background-image: url('pattern3.png');

rawnewdlz
March 14th, 2007, 04:41 PM
or

style="background-image: url(file/pattern3.png);"

fasterthanlight™
March 14th, 2007, 04:55 PM
Make sure your path to the background is properly linked to, as sometimes your file structure varies between whats on your harddrive and whats on the server

you might also want to take out the "file:"
i've never seen it used before....
what the heck would it do anyways? :P obviously its a file!

<body bgcolor="#FFFFFF" style="background-image: url(pattern3.png); background-color: Purple;">

somnamblst
March 14th, 2007, 05:12 PM
Make sure your path to the background is properly linked to, as sometimes your file structure varies between whats on your harddrive and whats on the server

you might also want to take out the "file:"
i've never seen it used before....
what the heck would it do anyways? :P obviously its a file!

<body bgcolor="#FFFFFF" style="background-image: url(pattern3.png); background-color: Purple;">

Oh it was definitely pathed correctly. Your syntax worked. I was just surprised as the browse function in Homesite by default is IE and it was showing up in Homesite. When Macromedia aquired Homesite from Allaire I was hoping for continued development. I guess all the eggs were in the Dreamweaver basket.

fasterthanlight™
March 14th, 2007, 05:18 PM
Weird! Glad its workin!