iframe + css

I have a link which calles widget which shows iframe (I use renderPartial to show content of this frame). So no layout is using. However, I wanted to add main.css file to style form in my iframe.

In your iframe controller use 4-n parameter for renderPartial - $processOutput. It allows to use Yii::app()->clientScript in your partial view.

I have the same problem! how can I fix it?