So it took me a while to figure this one out, therefore thought it would be worth posting here…
Facebook currently allows only one url type declaration per style block. So if you have multiple url declarations in your style, you get this error. The solution is to simply seperate the url declarations into separate style blocks:
<style type="text/css">
#div1 { background: url(http://www.imageserver.com/img1.jpg); }
#div2 { background: url(http://www.imageserver.com/img2.jpg); }
</style>
To become:
<style type="text/css">
#div1 { background: url(http://www.imageserver.com/img1.jpg); }
</style>
<style type="text/css">
#div2 { background: url(http://www.imageserver.com/img2.jpg); }
</style>
Wow thanks! That certainly saved me lots of headache trying to figure it out.
Thanks for posting this. Big help!
Very helpful, thanks
The errors only show up for the developer(s) of the application. I wouldn’t worry about it too much, I think it’s far messier to put in some hack. I would like Facebook to fix the bug though!