Re: Best practice for CSS

2006-11-12 Thread leamas
Thanks! I really appreciate the help. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Best practice for CSS

2006-11-09 Thread leamas
I have just started working on CakePHP for a company and I'm trying to get a hang of it. However, I cannot seem to get a straight answer from my research about implementing my own CSS file. Do I have to overwrite/edit the cake.generic.css file? Or can I redirect the url to the CSS to my own?

Re: Best practice for CSS

2006-11-09 Thread mariano.iglesias
It's a very simple issue. You shouldn't overwrite / edit the cake.generic.css file but instead produce your own css file. Let's say you've created your own styles.css file. Save this file under your webroot/css directory. Then, edit your app/views/layout/default.thtml file and in the header

Re: Best practice for CSS

2006-11-09 Thread mariano.iglesias
Sorry, $syhtml should be $html. I was just using a helper I've extended from cake's html helper :) So it should be: ?php echo $html-css('styles'); ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP