1

I have two orgs, dev and sandbox. I've written a VF page using VF components like pageblock and applied my own CSS to them. The problem is that in my dev org the new style is not applied while in the sandbox it does.

Does anyone know why?

5
  • 1
    hardcoded url ? Oct 15, 2013 at 10:46
  • static resource
    – Dedo
    Oct 15, 2013 at 11:13
  • 1
    Can you post a small snippet of your VF page? Are you using URLFOR?
    – Mike Chale
    Oct 15, 2013 at 12:18
  • Are your styles applied by element ID or by class?
    – Mark Pond
    Oct 15, 2013 at 17:06
  • applied by class
    – Dedo
    Oct 15, 2013 at 17:11

1 Answer 1

2

How are you storing the CSS? if you have stored as a static resource remember to copy that static resource from your sandbox to your dev box. If it is inline or it is in static resources but not working try using firebug or similar to debug in browser.

2
  • static resource; I made sure its the same in both orgs
    – Dedo
    Oct 15, 2013 at 11:13
  • Also check that the static resource content type is "text/css" in both orgs.
    – Keith C
    Oct 15, 2013 at 21:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .