Notice: The devs are no longer actively involved in the forum, so any bug reports regarding the Stylish extension or this website should be sent to them directly at contact@userstyles.org.
Changing your Avatar.
The only way to currently change a forum avatar is through Gravatar.com. The email address used for your Userstyles.org account must be one of the email addresses that is registered to your Gravatar account.

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.