Welcome Guest, Not a member yet? Register   Sign In
CSS and include troubles
#1

[eluser]Alias M2K[/eluser]
I would like to know how to link CSS and to include or require PHP files... Is there any specific location where CI engine would search for these files or can we specify one? If so, how to do that?
#2

[eluser]wh1tel1te[/eluser]
Easiest way would be to load the URL helper, then use base_url():

Code:
<link rel="stylesheet" href="<?php echo base_url(); ?>path/to/file.css" />
#3

[eluser]Alias M2K[/eluser]
Cool! Big Grin Thanks Wink




Theme © iAndrew 2016 - Forum software by © MyBB