CSS CodeIgniter Files

I have a designer who creates a design for me, and I want to start with CodeIgniter.

But the problem is the location of the CSS file and images. I can put them in the root of the application, but it is not supported in the IDE (DW).

I mean, the path does not work in DW to show CSS styling in live view mode, and my designer cannot change without seeing the style.

I would also like to enable the intellisense function on DW, if possible.

Any help would be helful. Thanks.

+4
source share
2 answers

You should not rely on DW. The fastest thing you can do is make him an HTML page that he can open and edit, and DW, and then just copy the CSS changes to your CI project.

+3
source

I always save CSS files in the root directory. That way, I can quickly access them using the shortest paths inside the helper functions of the CI URL.

Such as...

echo site_url('css/style.css'); 
+3
source

Source: https://habr.com/ru/post/1394613/


All Articles