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

Rotator does not re-position when resizing a page with centered body

1 Answer 27 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Raymond Mui
Top achievements
Rank 1
Raymond Mui asked on 19 Dec 2008, 05:31 AM
Hi, I have my page center on the browser, as follows:

<body style="width: 960px; margin: 5px auto 0;">

On the left hand side, I have a navigator menu.  Below it, I put a rotator to show some news. 

Problem: when I resize the browser window (IE), the rotator does not relocate.  However, it works on FF3 and Opera.

Any idea?

Thanks

Raymond

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 22 Dec 2008, 03:20 PM
Hello Raymond,

I was able to reproduce the problem, but the reason for it is not in RadRotator. This problem occurs because the IE does not recognize the third parameter in the "margin" declaration ("margin: 5px auto 0;") - it expects only 2 parameters. Other browsers work fine with full parameter list.

What I can suggest is to use the "margin" property with 2 parameters only :
<body style="width: 960px; margin: 5px auto;"



Sincerely yours,
Fiko
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Rotator
Asked by
Raymond Mui
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or