You need to sign in to do that
Don't have an account?
CSS Background image support in visualforce
Error when using image stored in salesforce. Error "The reference to entity "oid" must end with the ';' delimter"
Code with image served from sfdc:
#container { width:830px; height:600px; margin:0 auto; background:#FFF url( https://c.cs12.content.force.com/servlet/servlet.ImageServer?id=015V00000004lAW&oid=00DV00000000Olc&lastMod=1312875334000) bottom left no-repeat; position:relative; }
I'm not a CSS expert - but it seems to be related to the additional url parameters passed in.
Any suggestions?
Thx
thanks that worked
All Answers
Try single quotes around the path inside url()
tried single and double - not luck
Hmm - now I'm wondering about the "&" characters - maybe try replacing those with "&" (the HTML entity code)
thanks that worked