0

How to Link css file in cakephp

Input [code language=”css”]echo $this->Html->css(‘style’);[/code] Outut [code language=”css”]<link rel="stylesheet" type="text/css" href="/css/style.css" />[/code] The first parameter can be an array to include multiple files.: Input [code language=”css”]echo $this->Html->css(array(‘forms’, ‘tables’, ‘menu’));[/code] Output [code language=”css”]<link rel="stylesheet" type="text/css" href="/css/forms.css" /> <link rel="stylesheet" type="text/css" href="/css/tables.css" />… Continue Reading