By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,879 Members | 1,809 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,879 IT Pros & Developers. It's quick & easy.

CSS set background image as local file

P: 4
Hi,
I want to customize the look of one of the sites. I use firefox and I want to change the background image of one of the classes by using user CSS.
Is there anyway I can make the browser to apply the background image from my local machine instead of the image on the web server.
I have given the logical representation below.

Current:
.bgimg
background-image:url(images/serverimage.gif);
}

What I need:
.bgimg
background-image:C:\myLocalMachineImage.gif);
}

Thanks in advance.
pravi
Feb 16 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,892
Is the site hosted from your machine?
Feb 16 '07 #2

P: 4
No. The site is hosted on a different machine.

Is the site hosted from your machine?
Feb 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.