Reputation: 4719
I am developing a firefox extension which needs to add some html on the page it runs.
This element I will be writing needs to be decorated with css and also load some images.
I have both the css file and the images in the plugin, but I do not know how to reference them.
Do I need to insert the css file to the page I want to modify?
In the css file how can I reference the images that are in the extensions?
Thanks
Upvotes: 0
Views: 106
Reputation: 6001
You need to use chrome notation:
Check here:
http://www.ar-ent.net/dar/arlib32/out/html/man/xul/textimage.html
Upvotes: 1