This is a migrated thread and some comments may be shown as answers.

Rotator itemtemplate shifted right

1 Answer 67 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
SonicImaging
Top achievements
Rank 1
SonicImaging asked on 01 Oct 2008, 06:04 PM
hi,  im working with a AutomaticAdvance rotator thats sitting in a table cell. Anything in the item template gets shifted to the right and cutoff about 10 pixels so there the a blank space on the left about 10 pixels,  it is wrapping like I want just shifted,  Ive also changed the scroll direction same thing.

If I put a border around the containing tables cell its correct but if I put one around the itemtemplate it is also shifted.  text in the table cell without the rotator is flush up against the left.  here is the code

The rotator height and width is the same as the TD and the same as teh item width and hight.  ive tried changes these with no luck.  if I change the item width to only 10px the width is 10 pixes but there is still a 10px gap on the left.

I also set the css class of the rotator to padding 0, margin 0 and border 0 !important,  still same thing

plus if I put the text in a table or div inside the itemtemplate it wraps on the right ok but still has the gap on the left.

please help....

Thanks
-Keith

            <telerik:RadRotator WrapFrames="false" BackColor="#9c9c9c" ID="RR1" runat="server" height="158px" width="192px" 
              RotatorType="AutomaticAdvance" ScrollDirection="Up" InitialItemIndex="0" scrollduration="500" frameduration="4000"  
              itemheight="158px" itemwidth="192px" datasourceid="LDSDYN1" > 
            <ItemTemplate> 
            THIS IS SOME TEST TEXT TO SEE WHY ITS CUTTING OFF on the right 
            </ItemTemplate> 
            </telerik:RadRotator> 
            </td> 

1 Answer, 1 is accepted

Sort by
0
SonicImaging
Top achievements
Rank 1
answered on 01 Oct 2008, 06:27 PM
Ha ha,

Found it,  I had a declaration for LI in my CSS and Thats hows its being built

nevermind,

Thanks
-Keith
Tags
Rotator
Asked by
SonicImaging
Top achievements
Rank 1
Answers by
SonicImaging
Top achievements
Rank 1
Share this question
or