about:blank style-- background-image with local file

edited January 2007 in Style Development
Hi,

I am trying to have a style affect my about:blank start up page on firefox.

Strangely, I cannot get local images to be displayed-- only remote via http://

so, if I do:

body {
background-color:black;
background-image: url(file:///Users/patrick/pictures/myimage.jpg);
}

This does not work.. yet if I do:

body {
background-color:black;
background-image: url(http://mydomain.com/images/global.jpg);
}

it works fine... And mind you, the "file:///Users/patrick/pictures/myimage.jpg" works perfectly if I enter it into firefox's url bar.

any thoughts?
-patrick

Comments

Sign In or Register to comment.