You're right. It doesn't have anything to do with CakePHP. Thought I found the solution. So if anyone stumbles on this topic having the same problem: Safari 4 has a bug that causes the background color problem. Make sure your <script></script> in the <head></head> comes _before_ the <link rel="stylesheet" /> and not the other way round.
On Feb 14, 4:52 pm, "b logica" <[EMAIL PROTECTED]> wrote: > On Thu, Feb 14, 2008 at 5:45 AM, Bart <[EMAIL PROTECTED]> wrote: > > > Whenever I include prototype.js and scriptaculous.js using simply: > > > <script type="text/javascript" src="/js/scriptaculous/lib/ > > prototype.js"></script> > > <script type="text/javascript" src="/js/scriptaculous/src/ > > scriptaculous.js"></script> > > > my Safari browser starts to leave out pieces of the background color, > > parts turn white. > > In my CSS i've declared both background-color and background-image. > > (a .png with transparency) > > > Leaving out one of the script tags above eliminates the problem (and > > its javascript functionality) > > Firefox, Camino and Opera handle it right. > > > Does this problem sound familiar to anyone and does anyone have an > > idea what the cause+solution is? > > No, but I'm guessing it's not a Cake problem. Try creating a plain > HTML page--no PHP, no includes, etc.--and check the page in Safari. > That is, serve the page from a non-Cake virtual host. If you still see > the problem ask on a list dedicated to Prototype or Scriptaculous. > Safari's a great browser but some versions are maddeningly buggy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
