SkinnyMVC is a light-weight, easy to learn, "skinny" development framework for PHP that enables the developer to implement the MVC architectural pattern, while maintaining maximum flexibility and performance of the application.

HOWTO Add CSS Files

Adding CSS files to a SkinnyMVC-based Web Application is quite easy.

Adding CSS Files

In SkinnyMVC, the default place to put CSS files is in....


  web/css/
            

If you look inside this directory, you'll actually find one CSS file already there....


  web/css/main.css
            

Just put whatever CSS files you have in there. For example, if you had a CSS file called "960.css", then you would put it at....


  web/css/960.css
            

Accessing CSS Files

To access your newly uploaded CSS file, simple add code like...


  <link rel="stylesheet" type="text/css" href="/css/960.css" />
            

(Note that the "web" prefix is gone from the link above.)

Powered by SkinnyMVC       |       SkinnyMVC License       |       Developed by Radoslav Gazo and Charles Iliya Krempeaux