07-20-2023, 01:31 PM
The `link_tag()` helper is clearly the way to do this. Put your css where it usually belongs, in site_root/css/ and then use the helper:
From [The CodeIgniter docs...][1]
echo link_tag('css/mystyles.css');
Output
<link href="http://example.com/css/mystyles.css" rel="stylesheet" type="text/css" />
[1]:
From [The CodeIgniter docs...][1]
echo link_tag('css/mystyles.css');
Output
<link href="http://example.com/css/mystyles.css" rel="stylesheet" type="text/css" />
[1]:
[To see links please register here]