Click here to Skip to main content
15,891,720 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am working on a PHP project named- "EMPLOYEE MANAGEMENT SYSTEM". I have to use MVC architecture. I have basic knowledge about it. But I am confused where I should keep my .css file.
Posted
Comments
Mohibur Rashid 24-Feb-15 0:21am    
What MVC are you using? It depends on framework. In general MVC framework has a folder for public files such as CSS. you should keep them on that specific folder.

1 solution

You can keep them absolutely anywhere, as soon as your PHP/HTML files reference those CSS files correctly. I would suggest using relative paths, by a number of reasons. Also, it's better to use your own CSS placed on your site, without cross-domain URLs.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900