Question: I want to know how we can include CSS file in a website build using PHP for mobile application.

I have a site which is build using HTML,PHP, and CSS. Now I have to make that site properly aligned in mobile phones. I already can view the content on mobile, but the css which I have included in the site is not getting added, and so the text, font, everything is not properly visible on mobile. Infact in "page source", the css which is initially included cannot be seen. So is there any different way to include a css for mobile applications.

Can anyone help me with this.

Answer: 
You could create a Plugin, for example:

```
class Plugin_Sidebar extends Zend_Controller_Plugin_Abstract {

    public function postDispatch(Zend_Controller_Request_Abstract $request)
    {
        if($request->getModuleName() == 'admin')
        {
            return;
        }
        $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
        if (null === $viewRenderer->view) {
            $viewRenderer->initView();
        }
        $view = $viewRenderer->view;

        $yt = new Zend_Gdata_YouTube();
        $view->videos = $yt->getUserUploads('MysteryGuitarMan');

    }
}

```

So put the actions you want in this plugin and these aciotns will be executed after all.
What happens is that the postDispatch is called again after mycontroller->myaction has been dispatched, so it calls mycontroller->myaction again and again.