Putting Div Into Sidebar

Hello together,

i have a problem. I need a div in the Sidebar of my site, but don`t want to use a Widget for this.

Is there a solution to solve my problem?

I don`t know how to enter my div, with an overview of information, to the sidebar.

First i thought i could solve it with css, but it doesnt work, because i had to set the div absolute and it wouldnt auto size anymore.

I hope you can help me.

Thanks :slight_smile:

Greetz Keevin

Will help you, but can you shows your code first?

Thanks for your fast Reply.

First my generated column2-Layout


<?php /* @var $this Controller */ ?>

<?php $this->beginContent('//layouts/main'); ?>

<div class="span-19">

	<div id="content">

		<?php echo $content; ?>

	</div><!-- content -->

</div>

<div class="span-5 last">

	<div id="sidebar">

	<?php

		$this->beginWidget('zii.widgets.CPortlet', array(

			'title'=>'Aktionen',

		));

		$this->widget('zii.widgets.CMenu', array(

			'items'=>$this->menu,

			'htmlOptions'=>array('class'=>'operations'),

			'encodeLabel'=>false,

		));

		$this->endWidget();

	?>

	</div><!-- sidebar -->

</div>

<?php $this->endContent(); ?>



Now, I want to add an div to the sidebar to show some informations.

But I don`t want to solve the problem with a widget.

My first idea was to do it with css. But the relative angle of the div isn`t good.

I don`t know, too, where I have to include the div in the view to show it in the right column.

Is there any possibilty to solve my problem ??