Removing Two divs covering $content

I am getting two divs having class container and id content which contain what I have within index.php.

in main.php I just have $content

Now I do not want to have these two divs.

How can I acheive that?

Did you forget to select

public $layout='//layouts/main';

in protected/components/Controller.php?


Thanks that solved it