Hi I am using CStar in widget but ever since it renders buggy i do not know why. it renders all in one page rather than its orignal position
i am using it like this
image name
* * * * *
image name
* * * * *
image name
* * * * *
image name
* * * * *
but it renders all on one place
and code for view is _view file
<div class="view">
<div style="float: left;display: block;">
<?php $img = CHtml::image(yii::app()->baseUrl.'/images/placeImages/'.$data->name
.'/'.$data->thumbnail,$data->thumbnail ,array('style'=>'width:70px; height:70px;display:block;'));
echo CHtml::link($img, array('view', 'id'=>$data->id),array('style'=>'width:70px; height:70px;display:block;'));?>
</div>
<div style="padding-left: 80px; width: 150px; height: 90px;display: block;">
<span>
<?php echo CHtml::link(CHtml::encode($data->name).'</span>', array('view', 'id'=>$data->id));?>
</span>
<br/>
<span >
<?php echo $data->placeType->type;?>
</span>
<span style="float:left;">
<?php
echo CHtml::beginForm();
$this->widget('CStarRating',array(
'name'=>'rating',
'model'=>$data,
'readOnly'=>true,
'attribute'=>'hotel_rating',
'maxRating'=>5,
'starCount'=>5,
));
?>
</span>
</div>
</div>
<hr />
view.php
[b]<div class="span-6">
<h2 id="latest_dishes">Top Places </h2>
<?php
$this->widget('zii.widgets.CListView', array(
'dataProvider'=>$topPlaces,
'summaryText'=>'',
'itemView'=>'_view',
'itemsCssClass'=>'items-float',
));
?>
</div> [/b]