I've noticed a similar issue at times. When I have debug turned on and there's a pr() somewhere it will break my css. Basically any output sent before the view renders will break the css.
Take a look at the source that your view renders and see if you have anything before the <html> tag. -----Original Message----- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of Pyraz Sent: Friday, March 12, 2010 11:21 AM To: CakePHP Subject: Trouble Loading CSS on home.ctp when Debug == 0 So I'm having a bit of trouble here. When debug > 0, everything works fine. When debug == 0, everything works fine in all my views except home.ctp (ie. pages/home). The page loads, but just prints the HTML to the screen with no CSS or JavaScript. Any idea what's going on here? Thanks, Trevor Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en