wit_vivek
wit_vivek

Reputation: 61

CodeIgniter CSS files

I have a designer who makes the design for me and I want to start with CodeIgniter.

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

What I mean is the path is not working in DW to show CSS styling in live view and my designer can't make change without seeing styling.

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

Any help will be helful. Thanks.

Upvotes: 4

Views: 1896

Answers (2)

Prefontaine
Prefontaine

Reputation: 120

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

Such as...

echo site_url('css/style.css');

Upvotes: 3

Shomz
Shomz

Reputation: 37701

You shouldn't rely on DW. The quickest thing you can do is to render him a HTML page which he can open and edit and DW, and then just copy the CSS changes to your CI project.

Upvotes: 3

Related Questions