CStar Rating renders false

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">

    &lt;h2 id=&quot;latest_dishes&quot;&gt;Top Places &lt;/h2&gt;


    &lt;?php 


    &#036;this-&gt;widget('zii.widgets.CListView', array(


        'dataProvider'=&gt;&#036;topPlaces,


        'summaryText'=&gt;'',


        'itemView'=&gt;'_view',


        'itemsCssClass'=&gt;'items-float',


        )); 


    ?&gt;

</div> [/b]

As I promised in the channel I posted a guide in tips,trix and tutorials on this topic. Hope you get it to work:)

link?

http://www.yiiframework.com/forum/index.php?/topic/29851-complete-guide-for-multiple-cstarratings-on-same-page/page__view__findpost__p__143616__hl__+tar+rating+widget